From 7f8da4e667ec495f4caea20c8900ac8b5aaa9b31 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 10 Sep 2014 22:16:50 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12479 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/KOKKOS/kokkos.cpp | 1 + src/lammps.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/KOKKOS/kokkos.cpp b/src/KOKKOS/kokkos.cpp index 8242b04cbe..9b5df82b86 100644 --- a/src/KOKKOS/kokkos.cpp +++ b/src/KOKKOS/kokkos.cpp @@ -17,6 +17,7 @@ #include "ctype.h" #include "kokkos.h" #include "lammps.h" +#include "force.h" #include "neighbor_kokkos.h" #include "neigh_list_kokkos.h" #include "error.h" diff --git a/src/lammps.cpp b/src/lammps.cpp index 287866fe63..f8a17ccf8b 100644 --- a/src/lammps.cpp +++ b/src/lammps.cpp @@ -677,7 +677,7 @@ void LAMMPS::post_create(int npack, int *pfirst, int *plast, char **arg) if (strlen(str) + strlen(arg[j]) + 2 > 128) error->all(FLERR,"Too many -pk arguments in command line"); strcat(str," "); - strcpy(str,arg[j]); + strcat(str,arg[j]); } input->one(str); }