Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda committed Aug 2, 2023
1 parent a38ff14 commit 01dc4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EOS/gamma_law/actual_eos.H
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ void actual_eos (I input, T& state)

// sound speed
state.cs = std::sqrt(eos_gamma * state.p * rhoinv);
state.G = 0.5 * (1.0 + (rho / state.p) * state.cs * state.cs);
state.G = 0.5 * (1.0 + (state.rho / state.p) * state.cs * state.cs);
}
}

Expand Down

0 comments on commit 01dc4fa

Please sign in to comment.