diff --git a/src/fix_box_relax.cpp b/src/fix_box_relax.cpp index b6ef8299a1..8eb13e6170 100644 --- a/src/fix_box_relax.cpp +++ b/src/fix_box_relax.cpp @@ -471,7 +471,7 @@ int FixBoxRelax::modify_param(int narg, char **arg) icompute = modify->find_compute(id_press); if (icompute < 0) error->all("Pressure ID for fix modify does not exist"); - modify->compute[icompute]->reset_extra_compute(id_temp); + modify->compute[icompute]->reset_extra_compute_fix(id_temp); return 2; diff --git a/src/fix_nph.cpp b/src/fix_nph.cpp index 9cd6bc2673..1c91cf5161 100644 --- a/src/fix_nph.cpp +++ b/src/fix_nph.cpp @@ -822,7 +822,7 @@ int FixNPH::modify_param(int narg, char **arg) icompute = modify->find_compute(id_press); if (icompute < 0) error->all("Pressure ID for fix npt does not exist"); - modify->compute[icompute]->reset_extra_compute(id_temp); + modify->compute[icompute]->reset_extra_compute_fix(id_temp); return 2; diff --git a/src/fix_npt.cpp b/src/fix_npt.cpp index 2fc51b37be..3328625a46 100644 --- a/src/fix_npt.cpp +++ b/src/fix_npt.cpp @@ -961,7 +961,7 @@ int FixNPT::modify_param(int narg, char **arg) icompute = modify->find_compute(id_press); if (icompute < 0) error->all("Pressure ID for fix modify does not exist"); - modify->compute[icompute]->reset_extra_compute(id_temp); + modify->compute[icompute]->reset_extra_compute_fix(id_temp); return 2;