Skip to content

Commit

Permalink
switch conditional statement
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Nov 22, 2023
1 parent 2b5f3f0 commit 1091dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exec/science/Detonation/problem_initialize.H
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void problem_initialize ()
problem::xn[problem::ic12] = amrex::max(problem::cfrac, problem::smallx);
problem::xn[problem::io16] = amrex::max(problem::ofrac, problem::smallx);

if (!problem::in14 < 0) {
if (problem::in14 >= 0) {
problem::xn[problem::in14] = amrex::max(problem::nfrac, problem::smallx);
problem::xn[problem::ihe4] = 1.0_rt - problem::cfrac - problem::nfrac - problem::ofrac - (NumSpec - 3) * problem::smallx;
}
Expand Down

0 comments on commit 1091dd7

Please sign in to comment.