Skip to content

Commit

Permalink
Fix loading of default order 1 ERK method in ARKStep
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Jul 3, 2024
1 parent b578eab commit b7dd37c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions doc/shared/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/arkode/arkode_arkstep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b7dd37c

Please sign in to comment.