Unverified Commit 5e3a7059 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix bug caused by a parameter shadowing a class variable

parent df7c56d8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -406,8 +406,9 @@ void Thermo::compute(int flag)
   call function to compute property
------------------------------------------------------------------------- */

void Thermo::call_vfunc(int ifield)
void Thermo::call_vfunc(int ifield_in)
{
  ifield = ifield_in;
  (this->*vfunc[ifield])();
}