Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Nov 13, 2023
1 parent e671a1c commit a834998
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions EOS/helmholtz/actual_eos.H
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ void actual_eos (I input, T& state)

using namespace helmholtz;

const int max_newton = 100;
constexpr int max_newton = 100;

bool single_iter, converged;
int var{}, dvar{}, var1, var2;
Expand Down Expand Up @@ -1306,7 +1306,6 @@ void actual_eos_init ()

Real dth, dt2, dti, dt2i;
Real dd, dd2, ddi, dd2i;
Real tsav, dsav;

// Read in the runtime parameters

Expand All @@ -1326,10 +1325,10 @@ void actual_eos_init ()
dstpi = 1.0e0_rt / dstp;

for (int j = 0; j < jmax; ++j) {
tsav = tlo + j * tstp;
Real tsav = tlo + j * tstp;
t[j] = std::pow(10.0e0_rt, tsav);
for (int i = 0; i < imax; ++i) {
dsav = dlo + i * dstp;
Real dsav = dlo + i * dstp;
d[i] = std::pow(10.0e0_rt, dsav);
}
}
Expand Down

0 comments on commit a834998

Please sign in to comment.