Commit 0a31e1cc authored by Jesse Mapel's avatar Jesse Mapel Committed by Jesse Mapel
Browse files

Checked for set adjustments in getAdjSensorPosVel

parent 03ac0531
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1946,7 +1946,7 @@ void UsgsAstroLsSensorModel::getAdjSensorPosVel(const double& time,
  if (!calc_vel) {
    bool has_adj = false;
    for (size_t it = 0; it < adj.size(); it++) {
      if (adj[it] != 0) has_adj = true;
      if (getValue(it, adj) != 0) has_adj = true;
    }
    if (!has_adj) {
      xc = sensPosNom[0];