Skip to content

Commit de24507

Browse files
authored
Merge pull request #109 from njzjz/patch-4
fix too few arguments to strtof function
2 parents db8961a + 7c86a62 commit de24507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/lmp/pair_nnp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ void PairNNP::settings(int narg, char **arg)
699699
#ifdef HIGH_PREC
700700
eps = atof(arg[iarg+1]);
701701
#else
702-
eps = strtof(arg[iarg+1]);
702+
eps = strtof(arg[iarg+1], NULL);
703703
#endif
704704
iarg += 2;
705705
}

0 commit comments

Comments
 (0)