changeset 12571:7a64d4df2987 octave-forge

bug fix reported by Sanjay Manahor
author schloegl
date Fri, 27 Mar 2015 12:12:34 +0000
parents 1e7c06788339
children 22658fcb51e9
files extra/NaN/inst/nanstd.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extra/NaN/inst/nanstd.m	Wed Mar 25 17:42:19 2015 +0000
+++ b/extra/NaN/inst/nanstd.m	Fri Mar 27 12:12:34 2015 +0000
@@ -60,7 +60,7 @@
 end; 
 
 if (FLAG==1)
-        y = sqrt(y)./n;	% normalize with N
+        y = sqrt(y./n);	% normalize with N
 else
 	% default method
         y = sqrt(y./max(n-1,0));	% normalize with N-1