Skip to content

Commit

Permalink
Fix hardcoded double. (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Aug 29, 2023
1 parent f50f4fa commit b6aa689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utility/TurbInflow/turbinflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ TurbInflow::init(amrex::Geometry const& /*geom*/)
AMREX_ASSERT_WITH_MESSAGE(
turb_center.size() == AMREX_SPACEDIM - 1,
"turb_center must have AMREX_SPACEDIM-1 elements");
for (double& tc : turb_center) {
for (amrex::Real& tc : turb_center) {
tc *= tp[n].turb_scale_loc;
}

Expand Down

0 comments on commit b6aa689

Please sign in to comment.