diff --git a/CHANGELOG.md b/CHANGELOG.md index 141b16720c..6d6f64764e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bug Fixes +Fixed the loading of ARKSteps' default first order explicit method. + ### Deprecation Notices ## Changes to SUNDIALS in release 7.1.1 diff --git a/doc/shared/Changelog.rst b/doc/shared/Changelog.rst index 5bf5c04203..0db3351a0f 100644 --- a/doc/shared/Changelog.rst +++ b/doc/shared/Changelog.rst @@ -24,6 +24,8 @@ Changelog Changes to SUNDIALS in release X.Y.Z ==================================== +Fixed the loading of ARKSteps' default first order explicit method. + .. include:: RecentChanges_link.rst Changes to SUNDIALS in release 7.1.1 diff --git a/src/arkode/arkode_arkstep.c b/src/arkode/arkode_arkstep.c index 5f91285edb..4f6e403ccf 100644 --- a/src/arkode/arkode_arkstep.c +++ b/src/arkode/arkode_arkstep.c @@ -2254,7 +2254,7 @@ int arkStep_SetButcherTables(ARKodeMem ark_mem) { switch (step_mem->q) { - case (1): itable = ARKSTEP_DEFAULT_ERK_1; break; + case (1): etable = ARKSTEP_DEFAULT_ERK_1; break; case (2): etable = ARKSTEP_DEFAULT_ERK_2; break; case (3): etable = ARKSTEP_DEFAULT_ERK_3; break; case (4): etable = ARKSTEP_DEFAULT_ERK_4; break;