Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Balos <[email protected]>
  • Loading branch information
drreynolds and balos1 authored Apr 26, 2024
1 parent 62f786b commit 8549ed6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/arkode/arkode.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ int ARKodeResStolerance(void* arkode_mem, sunrealtype rabstol)
/* Guard against use for time steppers that do not support mass matrices */
if (!ark_mem->step_supports_massmatrix)
{
arkProcessError(NULL, ARK_ILL_INPUT, __LINE__, __func__,
arkProcessError(ark_mem, ARK_ILL_INPUT, __LINE__, __func__,
__FILE__, "time-stepping module does not support non-identity mass matrices");
return (ARK_ILL_INPUT);
}
Expand Down Expand Up @@ -676,7 +676,7 @@ int ARKodeResVtolerance(void* arkode_mem, N_Vector rabstol)
/* Guard against use for time steppers that do not support mass matrices */
if (!ark_mem->step_supports_massmatrix)
{
arkProcessError(NULL, ARK_ILL_INPUT, __LINE__, __func__,
arkProcessError(ark_mem, ARK_ILL_INPUT, __LINE__, __func__,
__FILE__, "time-stepping module does not support non-identity mass matrices");
return (ARK_ILL_INPUT);
}
Expand Down Expand Up @@ -761,7 +761,7 @@ int ARKodeResFtolerance(void* arkode_mem, ARKRwtFn rfun)
/* Guard against use for time steppers that do not support mass matrices */
if (!ark_mem->step_supports_massmatrix)
{
arkProcessError(NULL, ARK_ILL_INPUT, __LINE__, __func__,
arkProcessError(ark_mem, ARK_ILL_INPUT, __LINE__, __func__,
__FILE__, "time-stepping module does not support non-identity mass matrices");
return (ARK_ILL_INPUT);
}
Expand Down

0 comments on commit 8549ed6

Please sign in to comment.