Skip to content

Commit 285dddb

Browse files
author
Crouse
committed
Bug fix.
1 parent 9f6e329 commit 285dddb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Magnetism/magHeading2Geog.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
end
103103
end
104104

105-
[~,gradV]=spherHarmonicEval(C,S,ellips2Sphere(points,a,f),aH,cH,true);
105+
[~,gradV]=spherHarmonicEval(C,S,ellips2Sphere(points,a,f),aH,cH);
106106
B=-gradV;
107107
%B is now a matrix of vectors of the magnetic flux of the Earth's field at
108108
%the points. The direction of B in the local tangent plane to the reference
@@ -127,7 +127,6 @@
127127
%Find the angle East of North.
128128
geoEastOfNorth(curPoint)=atan2(vEast,vNorth);
129129
end
130-
131130
end
132131

133132
%LICENSE:

0 commit comments

Comments
 (0)