Fix pair_comb3

This commit is contained in:
Richard Berger 2020-05-30 08:01:39 -04:00
parent 40cf106b8f
commit 2b960d94ec
No known key found for this signature in database
GPG Key ID: A9E83994E0BA0CAB
1 changed files with 2 additions and 0 deletions

View File

@ -373,6 +373,7 @@ void PairComb3::read_lib()
for (l = 0; l < nsplpcn; l++) {
utils::sfgets(FLERR, s, MAXLIB, fp, filename, error);
values = ValueTokenizer(s, " \t\n\r\f");
values.skip(1);
maxxcn[l] = values.next_int();
vmaxxcn[l] = values.next_double();
@ -387,6 +388,7 @@ void PairComb3::read_lib()
for (i = 0; i < (ntab + 1); i++){
utils::sfgets(FLERR, s, MAXLIB, fp, filename, error);
values = ValueTokenizer(s, " \t\n\r\f");
values.skip(1);
pang[i] = values.next_double();
dpang[i] = values.next_double();