diff --git a/mrLoadRet/Plugin/GLM_v2/combineTransformOverlayFunctions/weightedMeanStd.m b/mrLoadRet/Plugin/GLM_v2/combineTransformOverlayFunctions/weightedMeanStd.m old mode 100644 new mode 100755 index 41af7bdd4..9cab84d0a --- a/mrLoadRet/Plugin/GLM_v2/combineTransformOverlayFunctions/weightedMeanStd.m +++ b/mrLoadRet/Plugin/GLM_v2/combineTransformOverlayFunctions/weightedMeanStd.m @@ -35,7 +35,7 @@ %correct partial-sampling bias if nargout == 4 - popMean = 0:.1:10 ; + popMean = 0:.1:round(nOverlays*1.25) ; popStddev = .1:.1:5 ; nMeans = length(popMean); nStddevs = length(popStddev);