From a0fba99324bbadab78cfab0a721e21f02bbef279 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 25 Aug 2014 14:29:00 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12341 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/atom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.cpp b/src/atom.cpp index 550b959f22..006538bc85 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -369,7 +369,7 @@ void Atom::create_avec(const char *style, int narg, char **arg, int trysuffix) if (sflag) { char estyle[256]; - if (sflag = 1) sprintf(estyle,"%s/%s",style,lmp->suffix); + if (sflag == 1) sprintf(estyle,"%s/%s",style,lmp->suffix); else sprintf(estyle,"%s/%s",style,lmp->suffix2); int n = strlen(estyle) + 1; atom_style = new char[n];