Commit 7ad6f4b3 authored by jayd1860's avatar jayd1860
Browse files

v1.35.7

-- Get latest change from Utils/Shared
parent a91f2eb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -32,7 +32,7 @@ end
% Figure out the dimentions of p1 and p2 to see if they're compatible
% Figure out the dimentions of p1 and p2 to see if they're compatible
sz1 = size(p1);
sz1 = size(p1);
sz2 = size(p2);
sz2 = size(p2);
ndim = sz1(sz1==sz2);
ndim = max(sz1(sz1==sz2));
if isempty(ndim)
if isempty(ndim)
    if length(sz1)>2 || length(sz1)~=length(sz2)
    if length(sz1)>2 || length(sz1)~=length(sz2)
        menu('nearest_point error: p1 and p2 number of dimensions incompatible','OK');
        menu('nearest_point error: p1 and p2 number of dimensions incompatible','OK');
+1 −1
Original line number Original line Diff line number Diff line
1.35.6
1.35.7