Skip to content

Commit 0fa7ee1

Browse files
committed
correct for inversion of range axis.
1 parent 41be55c commit 0fa7ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/kriginginitiaite.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
elseif length(covar(1).range)==2
8181
ang=covar.azimuth; cang=cos(ang/180*pi); sang=sin(ang/180*pi);
8282
rot = [cang,-sang;sang,cang];
83-
covar.cx = rot/diag(fliplr(covar.range));
83+
covar.cx = rot/diag(covar.range);
8484
elseif length(covar.azimuth)==3
8585
error('not working in 3D (yet). Contact me if you need it.')
8686
end

0 commit comments

Comments
 (0)