From 0bf07db002cb8b59d220c330cc0d956f2c4842aa Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 1 Jun 2010 14:49:56 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4211 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/pair_lj96_cut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pair_lj96_cut.cpp b/src/pair_lj96_cut.cpp index bd3ce5f7eb..02e542965e 100644 --- a/src/pair_lj96_cut.cpp +++ b/src/pair_lj96_cut.cpp @@ -456,7 +456,7 @@ void PairLJ96Cut::settings(int narg, char **arg) { if (narg != 1) error->all("Illegal pair_style command"); - cut_global = atof(arg[0]); + cut_global = force->numeric(arg[0]); // reset cutoffs that have been explicitly set