Skip to content

Commit ed7f1fe

Browse files
m_ephemerisTime should be double (#497)
* m_ephemerisTime should be double * Changelog entry for m_ephemerisTime
1 parent 83c52b2 commit ed7f1fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ release.
3636
## [Unreleased]
3737

3838
### Fixed
39+
- Fix a bug in the Frame Sensor Model, the ephemeris time was rounded to it. [#497](https://github.com/DOI-USGS/usgscsm/pull/497)
3940
- Removed boundary checks for Frame Sensor Model getSensorPosition [#492](https://github.com/DOI-USGS/usgscsm/pull/492)
4041
- Fixed CAHVOR model optical shifts by removing tolerance check [#488](https://github.com/DOI-USGS/usgscsm/issues/488)
4142

src/UsgsAstroFrameSensorModel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ void UsgsAstroFrameSensorModel::replaceModelState(
15341534
m_focalLengthEpsilon = state.at("m_focalLengthEpsilon").get<double>();
15351535
m_nLines = state.at("m_nLines").get<int>();
15361536
m_nSamples = state.at("m_nSamples").get<int>();
1537-
m_ephemerisTime = state.at("m_ephemerisTime").get<int>();
1537+
m_ephemerisTime = state.at("m_ephemerisTime").get<double>();
15381538
m_currentParameterValue =
15391539
state.at("m_currentParameterValue").get<std::vector<double>>();
15401540
m_ccdCenter = state.at("m_ccdCenter").get<std::vector<double>>();

0 commit comments

Comments
 (0)