Commit 6f706482 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix in new surf for duplicated positions case

parent 7fc0f3d6
...@@ -74,7 +74,7 @@ else ...@@ -74,7 +74,7 @@ else
if ~isempty(sArgs.radius) if ~isempty(sArgs.radius)
r = sArgs.radius; r = sArgs.radius;
else else
r = data; r = data.';
end end
isComplex = ~all(isreal(r));% & min(r(:)) < 0; isComplex = ~all(isreal(r));% & min(r(:)) < 0;
if isComplex if isComplex
......
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