]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/SGGeodesy.cxx
Fix typo in SGGeodesy.
[simgear.git] / simgear / math / SGGeodesy.cxx
index d86cf0e30e303b9f83b026aa0cfd7ecfe3cc711d..396dae492e5feeca8e46326b9664d080aeb822a4 100644 (file)
@@ -87,7 +87,7 @@ SGGeodesy::SGCartToGeod(const SGVec3<double>& cart, SGGeod& geod)
     // coordinates 0/0/-EQURAD. It may be any other place on geoide's surface,
     // the Northpole, Hawaii or Wentorf. This one was easy to code ;-)
     geod.setLongitudeRad( 0.0 );
-    geod.setLongitudeRad( 0.0 );
+    geod.setLatitudeRad( 0.0 );
     geod.setElevationM( -EQURAD );
     return;
   }