Skip to content

Commit 800aadf

Browse files
committed
fixed typo
1 parent 683c03f commit 800aadf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arkode/arkode_adapt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ int arkAdapt(ARKodeMem ark_mem, ARKodeHAdaptMem hadapt_mem, N_Vector ycur,
102102
int controller_order;
103103

104104
/* Return with no stepsize adjustment if the controller is NULL */
105-
if (hdapt_mem->hcontroller == NULL)
105+
if (hadapt_mem->hcontroller == NULL)
106106
{
107-
h_acc = hcur;
107+
ark_mem->eta = ONE;
108108
return (ARK_SUCCESS);
109109
}
110110

0 commit comments

Comments
 (0)