Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Jun 20, 2023
1 parent f412f3b commit b20f41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/EB/AMReX_EB_StateRedistribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ StateRedistribute ( Box const& bx, int ncomp,
if (!flag(i,j,k).isCovered())
{
// This seems to help with a compiler issue ...
auto denom = Real(1.) / (nrs(i,j,k) + 1.e-30);
auto denom = Real(1.) / (nrs(i,j,k) + Real(1.e-30));
U_out(i,j,k,n) *= denom;
}
else
Expand Down

0 comments on commit b20f41c

Please sign in to comment.