Skip to content

Commit

Permalink
a warn
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Oct 10, 2024
1 parent c334be5 commit d645310
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Soot/SootData.H
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,7 @@ struct SootData
}
weightDelta = sc.smallWeight;
}
if (weightDelta > moments[0]) {
weightDelta = moments[0];
}
weightDelta = amrex::min(weightDelta, moments[0]);
moments[NUM_SOOT_MOMENTS] = weightDelta;
}

Expand Down

0 comments on commit d645310

Please sign in to comment.