Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
drreynolds committed Oct 30, 2024
1 parent 45faa46 commit 58122a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/arkode/arkode_mristep.c
Original file line number Diff line number Diff line change
Expand Up @@ -2369,8 +2369,10 @@ int mriStep_TakeStepMRISR(ARKodeMem ark_mem, sunrealtype* dsmPtr, int* nflagPtr)
is the [already-computed] slow RHS from the start of the step */

/* Determine how many stages will be needed */
max_stages = (ark_mem->fixedstep && (ark_mem->AccumErrorType == ARK_ACCUMERROR_NONE)) ?
step_mem->stages : step_mem->stages+1;
max_stages = (ark_mem->fixedstep &&
(ark_mem->AccumErrorType == ARK_ACCUMERROR_NONE))
? step_mem->stages
: step_mem->stages + 1;

/* Loop over stages */
for (stage = 1; stage < max_stages; stage++)
Expand Down

0 comments on commit 58122a2

Please sign in to comment.