Compatibility fix: in geometric centering, use @rdivide instead of @mrdivide

@rdivide is actually more correct, because we’re not doing an
element-by-element division.

And, more importantly, MATLAB R2009b does not accept @mrdivide in bsxfun.
parent 04547e32
Pipeline #1871 passed with stage
in 1 minute and 21 seconds
...@@ -33,7 +33,7 @@ end ...@@ -33,7 +33,7 @@ end
m = mean(; m = mean(;
if geometric if geometric = bsxfun(@mrdivide,, m); = bsxfun(@rdivide,, m);
else else = bsxfun(@minus,, m); = bsxfun(@minus,, m);
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment