Skip to content

Commit

Permalink
fix: redef of lambda array was array out of bounds error
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroBarker committed Oct 14, 2024
1 parent 04c8d3c commit 9a63873
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/microphysics/eos_phoebus/eos_phoebus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ std::shared_ptr<StateDescriptor> Initialize(ParameterInput *pin) {
// Can specify rho_min, etc, in <eos>
rho_min = pin->GetOrAddReal("eos", "rho_min", 0.0);
sie_min = pin->GetOrAddReal("eos", "sie_min", 0.0);
lambda[2] = {0.};
T_min = eos_host.TemperatureFromDensityInternalEnergy(rho_min, sie_min, lambda);
rho_max = pin->GetOrAddReal("eos", "rho_max", 1e18);
sie_max = pin->GetOrAddReal("eos", "sie_max", 1e35);
Expand Down

0 comments on commit 9a63873

Please sign in to comment.