Mercurial > octave-nkf
diff scripts/statistics/distributions/hygepdf.m @ 10525:3306cfcb856e
Replace constructs like "NaN * one()" with "NaN()" and "Inf * ones ()" with "Inf()"
author | David Bateman <dbateman@free.fr> |
---|---|
date | Fri, 16 Apr 2010 10:32:07 +0200 |
parents | 1bf0ce0930be |
children | 95c3e38098bf |
line wrap: on
line diff
--- a/scripts/statistics/distributions/hygepdf.m Thu Apr 15 23:40:30 2010 +0200 +++ b/scripts/statistics/distributions/hygepdf.m Fri Apr 16 10:32:07 2010 +0200 @@ -53,7 +53,7 @@ k = find (i1); if (any (k)) if (isscalar (t) && isscalar (m) && isscalar (n)) - pdf = NaN * ones (size (x)); + pdf = NaN (size (x)); else pdf (k) = NaN; endif