Mercurial > hg > octave-nkf
changeset 11985:bdc383a457fb release-3-2-x
fix typo in previous change
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Jun 2009 07:13:19 +0200 |
parents | b4986fecdc53 |
children | 66a639bfc523 |
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)';