MAINT: Return error when 'at' keyword is used without 'append yes'.
This commit is contained in:
@ -924,6 +924,8 @@ int DumpNetCDF::modify_param(int narg, char **arg)
|
||||
return 2;
|
||||
}
|
||||
else if (strcmp(arg[iarg],"at") == 0) {
|
||||
if (!append_flag)
|
||||
error->all(FLERR,"expected 'append yes' before 'at' keyword");
|
||||
iarg++;
|
||||
framei = force->inumeric(FLERR,arg[iarg]);
|
||||
if (framei < 0) framei--;
|
||||
|
||||
Reference in New Issue
Block a user