Skip to content

Commit

Permalink
Merge pull request #167 from AMReX-FHD/bugfix/temporal_integrator_check
Browse files Browse the repository at this point in the history
Correct typo in comparator for temporal integrator.
  • Loading branch information
ajnonaka authored Sep 17, 2024
2 parents 5a2ef5c + 3098d67 commit a63a03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_reactDiff/AdvanceTimestep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ void AdvanceTimestep(MultiFab& n_old,
const Real& time,
const Geometry& geom) {

if (temporal_integrator >0 0 && reactDiff_reaction_type != 0) {
if (temporal_integrator >= 0 && reactDiff_reaction_type != 0) {
if (reaction_type == 2) {
Abort("SSA (reaction_type==2) requires reactDiff_reaction_type=0 for split schemes");
}
Expand Down

0 comments on commit a63a03a

Please sign in to comment.