Mercurial > octave
changeset 20902:73cf3434e8c9
Fix performance stats for ode23
* scripts/ode/ode23.m: Account for FSAL when computing number of function evaluations.
author | Carlo de Falco <carlo.defalco@polimi.it> |
---|---|
date | Tue, 15 Dec 2015 18:01:05 +0100 |
parents | afe9c529760d |
children | 3d3da166dac5 |
files | scripts/ode/ode23.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ode/ode23.m Tue Dec 15 13:59:17 2015 +0100 +++ b/scripts/ode/ode23.m Tue Dec 15 18:01:05 2015 +0100 @@ -366,7 +366,7 @@ havestats = true; nsteps = solution.cntloop-2; # cntloop from 2..end nfailed = (solution.cntcycles-1)-nsteps+1; # cntcycl from 1..end - nfevals = 4 * (solution.cntcycles-1); # number of ode evaluations + nfevals = 3 * (solution.cntcycles-1); # number of ode evaluations ndecomps = 0; # number of LU decompositions npds = 0; # number of partial derivatives nlinsols = 0; # no. of solutions of linear systems