Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chunshen1987 committed Dec 31, 2022
1 parent 372df2d commit 1207ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/u_derivative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ int U_derivative::MakeDTau(const double tau,
// first order is more stable backward derivative
const double muB = eos.get_muB(eps, rhob);
const double tildemu = muB/T;
const double muB_prev = eos.get_muB(eps, rhob);
const double muB_prev = eos.get_muB(eps_prev, rhob_prev);
const double tildemu_prev = muB_prev/T_prev;
f = (tildemu - tildemu_prev)/(DATA.delta_tau);
dUsup[m][0] = -f; // g^{00} = -1
Expand Down

0 comments on commit 1207ac6

Please sign in to comment.