Skip to content

Commit

Permalink
Correct type in comparator for temporal integrator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Blomquist committed Sep 17, 2024
1 parent 5a2ef5c commit 3098d67
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 3098d67

Please sign in to comment.