Commit 0a5ae495 authored by Kristin Berry's avatar Kristin Berry
Browse files

Fixed a bug in GroundGrid where lat and lon were swapped. Fixes #2081

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@5862 41f8697f-d340-4b68-9986-7bafba869bb8
parent 445294c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -294,7 +294,7 @@ namespace Isis {
      latRes = Angle(p_defaultResolution, Angle::Degrees);
    }

    if(!lonRes.isValid() || latRes <= Angle(0, Angle::Degrees)) {
    if(!lonRes.isValid() || lonRes <= Angle(0, Angle::Degrees)) {
      lonRes = Angle(p_defaultResolution, Angle::Degrees);
    }

+3 −0
Original line number Diff line number Diff line
@@ -55,6 +55,9 @@ namespace Isis {
   *                           to be known in the constructor any more
   *   @history 2011-12-08 Steven Lambright - Fixed a bug causing the longitude
   *                           range to be incorrect. Fixes #607.
   *   @history 2014-06-06 Kristin Berry - Fixed a bug where lat/lon were swapped
   *                           in the code. Fixes #2081.
   *          
   */
  class GroundGrid {
    public: