Loading src/UsgsAstroFrameSensorModel.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -735,7 +735,6 @@ bool UsgsAstroFrameSensorModel::isValidIsd(const std::string& Isd, csm::WarningL void UsgsAstroFrameSensorModel::replaceModelState(const std::string& stringState) { json state = json::parse(stringState); // The json library's .at() will except if key is missing try { m_modelName = state.at("m_modelName").get<std::string>(); Loading Loading @@ -960,6 +959,7 @@ std::string UsgsAstroFrameSensorModel::constructStateFromIsd(const std::string& std::cerr << "Focal To Pixel Transformation Parsed!" << std::endl; state["m_referencePointXyz"] = std::vector<double>(3, 0.0); state["m_currentParameterCovariance"] = std::vector<double>(NUM_PARAMETERS*NUM_PARAMETERS,0.0) state["m_collectionIdentifier"] = ""; std::cerr << "Constants Set!" << std::endl; Loading Loading
src/UsgsAstroFrameSensorModel.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -735,7 +735,6 @@ bool UsgsAstroFrameSensorModel::isValidIsd(const std::string& Isd, csm::WarningL void UsgsAstroFrameSensorModel::replaceModelState(const std::string& stringState) { json state = json::parse(stringState); // The json library's .at() will except if key is missing try { m_modelName = state.at("m_modelName").get<std::string>(); Loading Loading @@ -960,6 +959,7 @@ std::string UsgsAstroFrameSensorModel::constructStateFromIsd(const std::string& std::cerr << "Focal To Pixel Transformation Parsed!" << std::endl; state["m_referencePointXyz"] = std::vector<double>(3, 0.0); state["m_currentParameterCovariance"] = std::vector<double>(NUM_PARAMETERS*NUM_PARAMETERS,0.0) state["m_collectionIdentifier"] = ""; std::cerr << "Constants Set!" << std::endl; Loading