Skip to content

Commit

Permalink
correct for inversion of range axis.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafnuss committed Jun 13, 2019
1 parent 41be55c commit 0fa7ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/kriginginitiaite.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
elseif length(covar(1).range)==2
ang=covar.azimuth; cang=cos(ang/180*pi); sang=sin(ang/180*pi);
rot = [cang,-sang;sang,cang];
covar.cx = rot/diag(fliplr(covar.range));
covar.cx = rot/diag(covar.range);
elseif length(covar.azimuth)==3
error('not working in 3D (yet). Contact me if you need it.')
end
Expand Down

0 comments on commit 0fa7ee1

Please sign in to comment.