Mercurial > hg > octave-nkf
changeset 9326:754f8f438a10
fix typo in previous change
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 10 Jun 2009 15:53:46 -0400 |
parents | 22a4433b41e3 |
children | e12a5ec6cf0d |
files | scripts/ChangeLog scripts/general/quadgk.m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,4 +1,4 @@ -2009-06-10 Marco Caliari <marco.caliari@univr.it> +2009-06-10 Marco Caliari <marco.caliari@univr.it> * general/quadgk.m: Better waypoint transform.
--- a/scripts/general/quadgk.m +++ b/scripts/general/quadgk.m @@ -195,7 +195,7 @@ ## waypoint transform is then ## t = (2 * g(t)) ./ (1 + sqrt(1 + 4 * g(t) .^ 2)) if (!isempty (waypoints)) - trans = @(x) (2 * x) ./ ((1 + sqrt(1 + 4 * x .^ 2)); + trans = @(x) (2 * x) ./ (1 + sqrt(1 + 4 * x .^ 2)); subs = [-1; trans(waypoints); 1]; else subs = linspace (-1, 1, 11)';