Skip to content
Snippets Groups Projects
Commit 0a31e1cc authored by Jesse Mapel's avatar Jesse Mapel Committed by Jesse Mapel
Browse files

Checked for set adjustments in getAdjSensorPosVel

parent 03ac0531
Branches
Tags
No related merge requests found
...@@ -1946,7 +1946,7 @@ void UsgsAstroLsSensorModel::getAdjSensorPosVel(const double& time, ...@@ -1946,7 +1946,7 @@ void UsgsAstroLsSensorModel::getAdjSensorPosVel(const double& time,
if (!calc_vel) { if (!calc_vel) {
bool has_adj = false; bool has_adj = false;
for (size_t it = 0; it < adj.size(); it++) { 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) { if (!has_adj) {
xc = sensPosNom[0]; xc = sensPosNom[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment