Commit 379c54c1 authored by Jesse Mapel's avatar Jesse Mapel Committed by Makayla Shepherd
Browse files

Fixed ControlMeasureLogData creation in ControlNetVersioner

parent c0c5c37d
Loading
Loading
Loading
Loading
+38 −22
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@
#include "ControlNetFileV0002.pb.h"
#include "SpecialPixel.h"

using namespace std;

namespace Isis {
  /**
   * Create a new control measure and initialize it to nulls and zeros.
@@ -846,6 +848,20 @@ namespace Isis {
  }


  /**
   * Return all of the log data for the measure.
   *
   * @return @b QVector<ControlMeasureLogData> All of the log data for the measure.
   */
  QVector<ControlMeasureLogData> ControlMeasure::GetLogDataEntries() const {
    QVector<ControlMeasureLogData> logs;
    if (p_loggedData) {
      logs = p_loggedData;
    }
    return logs;
  }


  //! One Getter to rule them all
  double ControlMeasure::GetMeasureData(QString data) const {
    if (data == "SampleResidual")
+760 −253

File changed.

Preview size limit exceeded, changes collapsed.