remove additional step update from within functions

This commit is contained in:
Krishna Vedala
2020-06-10 12:46:26 -04:00
parent 9ed9e3e107
commit beade2db10
2 changed files with 0 additions and 2 deletions

View File

@@ -76,7 +76,6 @@ void forward_euler(double dx, double *x, double *y, double *dy)
problem(x, y, dy);
for (o = 0; o < order; o++)
y[o] += dx * dy[o];
*x += dx;
}
/**

View File

@@ -84,7 +84,6 @@ void midpoint_euler(double dx, double *x, double *y, double *dy)
for (o = 0; o < order; o++)
y[o] += dx * dy[o];
(*x) += dx;
}
/**