Commit 438f2842 authored by dcookastrog's avatar dcookastrog
Browse files

Removed references to target radii.

parent 7b0b3f8b
Loading
Loading
Loading
Loading
+15 −21
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ namespace Isis {
      }

      if ( controlPoint->GetId().isEmpty() ) {
        QString msg = "Unbable to write control net to PVL file. "
        QString msg = "Unable to write control net to PVL file. "
                      "Invalid control point has no point ID value.";
        throw IException(IException::Unknown, msg, _FILEINFO_);
      }
@@ -364,8 +364,6 @@ namespace Isis {
          matrix += toString(aprioriCovarianceMatrix(1, 2));
          matrix += toString(aprioriCovarianceMatrix(2, 2));

          if ( !m_header.targetRadii.empty() ) {

          if ( aprioriSurfacePoint.GetLatSigmaDistance().meters() != Isis::Null
               && aprioriSurfacePoint.GetLonSigmaDistance().meters() != Isis::Null
               && aprioriSurfacePoint.GetLocalRadiusSigma().meters() != Isis::Null ) {
@@ -379,7 +377,6 @@ namespace Isis {
              + " <meters>";
            matrix.addComment(sigmas);
          }
          }

          // If the covariance matrix has a value, add it to the PVL point.
          if ( aprioriCovarianceMatrix(0, 0) != 0.0
@@ -443,8 +440,6 @@ namespace Isis {
          matrix += toString(adjustedCovarianceMatrix(1, 2));
          matrix += toString(adjustedCovarianceMatrix(2, 2));

          if ( !m_header.targetRadii.empty() ) {

          if ( adjustedSurfacePoint.GetLatSigmaDistance().meters() != Isis::Null
               && adjustedSurfacePoint.GetLonSigmaDistance().meters() != Isis::Null
               && adjustedSurfacePoint.GetLocalRadiusSigma().meters() != Isis::Null ) {
@@ -459,7 +454,6 @@ namespace Isis {

            matrix.addComment(sigmas);
          }
          }
          // If the covariance matrix has a value, add it to the PVL point.
          if ( adjustedCovarianceMatrix(0, 0) != 0.0
               || adjustedCovarianceMatrix(0, 1) != 0.0