Mercurial > octave-antonio
changeset 7413:ce6adb34ecf8
[project @ 2008-01-23 07:55:19 by jwe]
author | jwe |
---|---|
date | Wed, 23 Jan 2008 07:55:19 +0000 |
parents | 631ee59093bd |
children | 905bceea061b |
files | scripts/specfun/erfinv.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/specfun/erfinv.m Tue Jan 22 21:53:57 2008 +0000 +++ b/scripts/specfun/erfinv.m Wed Jan 23 07:55:19 2008 +0000 @@ -45,7 +45,7 @@ x = reshape (x, nel, 1); y = zeros (nel, 1); - ## x < 1 or x > 1 ==> NaN + ## x < -1 or x > 1 ==> NaN y(abs (x) >= 1) = NaN; y(x == -1) = -Inf; y(x == +1) = +Inf;