Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Roberts <[email protected]>
  • Loading branch information
drreynolds and Steven-Roberts authored Aug 29, 2024
1 parent 6a7b4a8 commit af67f18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion doc/shared/RecentChanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Fixed the loading of ARKStep's default first order explicit method.
Fixed a CMake bug regarding usage of missing "print_warning" macro
that was only triggered when the deprecated ``CUDA_ARCH`` option was used.

Fixed a memory leak that could occur if if ARKodeSetDefaults is called
Fixed a memory leak that could occur if :c:func:`ARKodeSetDefaults` is called
repeatedly.

**Deprecation Notices**
1 change: 0 additions & 1 deletion src/arkode/arkode_arkstep_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,6 @@ int arkStep_SetDefaults(ARKodeMem ark_mem)
return (ARK_MEM_FAIL);
}
}
ark_mem->hadapt_mem->hcontroller = NULL;
ark_mem->hadapt_mem->hcontroller = SUNAdaptController_PID(ark_mem->sunctx);
if (ark_mem->hadapt_mem->hcontroller == NULL)
{
Expand Down

0 comments on commit af67f18

Please sign in to comment.