Skip to content

Commit

Permalink
Bugfix: Fix loading of default order 1 ERK method in ARKStep (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts authored Jul 3, 2024
1 parent b578eab commit d0a14ae
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 ARKStep's 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/RecentChanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

**Bug Fixes**

Fixed the loading of ARKStep's default first order explicit method.

**Deprecation Notices**
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 d0a14ae

Please sign in to comment.