We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad6f2f0 commit 6f28333Copy full SHA for 6f28333
1 file changed
interfaces/eos.H
@@ -41,10 +41,10 @@ void eos_init (Real& small_temp_in, Real& small_dens_in)
41
42
// Set EOSData::min{temp,dens} and small_{temp,dens} to the maximum of the two
43
EOSData::mintemp = amrex::max(EOSData::mintemp, small_temp_in);
44
- small_temp = amrex::max(small_temp_in, EOSData::mintemp);
+ small_temp_in = amrex::max(small_temp_in, EOSData::mintemp);
45
46
EOSData::mindens = amrex::max(EOSData::mindens, small_dens_in);
47
- small_dens = amrex::max(small_dens_in, EOSData::mindens);
+ small_dens_in = amrex::max(small_dens_in, EOSData::mindens);
48
49
EOSData::initialized = true;
50
}
0 commit comments