Fixing error checks

This commit is contained in:
Stan Moore
2017-06-19 14:04:16 -06:00
parent da0dcbe0bb
commit b96b6b9cd7
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ void FixRxKokkos<DeviceType>::init()
bool eos_flag = false;
for (int i = 0; i < modify->nfix; i++)
if (strcmp(modify->fix[i]->style,"eos/table/rx") == 0) eos_flag = true;
if (strncmp(modify->fix[i]->style,"eos/table/rx",3) == 0) eos_flag = true;
if(!eos_flag) error->all(FLERR,"fix rx requires fix eos/table/rx to be specified");
if (update_kinetics_data)