Skip to content

Commit

Permalink
Fixed bug wherein MRI-GARK methods mistakenly 'reset' the inner solve…
Browse files Browse the repository at this point in the history
…r on every stage
  • Loading branch information
drreynolds committed Sep 8, 2024
1 parent 6fc56ee commit d289163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arkode/arkode_mristep.c
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ int mriStep_TakeStepMRIGARK(ARKodeMem ark_mem, sunrealtype* dsmPtr, int* nflagPt
break;
}
retval = mriStep_StageERKFast(ark_mem, step_mem, t0, tf, ark_mem->ycur,
ark_mem->tempv2, SUNTRUE, need_inner_dsm);
ark_mem->tempv2, SUNFALSE, need_inner_dsm);
if (retval != ARK_SUCCESS) { *nflagPtr = CONV_FAIL; }
break;
case (MRISTAGE_ERK_NOFAST):
Expand Down

0 comments on commit d289163

Please sign in to comment.