Skip to content

Commit

Permalink
Fixed cache size check
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemapel committed Aug 19, 2020
1 parent b8b9ba9 commit 57f7801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion isis/src/base/objs/SpicePosition/SpicePosition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ namespace Isis {
*/
void SpicePosition::SetEphemerisTimeMemcache() {
ale::State state;
if (cacheSize() == 1) {
if (p_cacheTime.size() == 1) {
state = m_state->getStates().front();
}
else {
Expand Down
4 changes: 2 additions & 2 deletions isis/src/juno/objs/JunoCamera/unitTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ int main(void) {
// These should be lat/lon at center of image. To obtain these numbers for a new cube/camera,
// set both the known lat and known lon to zero and copy the unit test output
// "Latitude off by: " and "Longitude off by: " values directly into these variables.
double knownLat = -45.4752919757178731;
double knownLon = 278.267811512381911;
double knownLat = -45.4762320380959295;
double knownLon = 278.270465938390657;

Cube c("$juno/testData/JNCE_2013282_00M00099_V01_METHANE_0003.cub", "r");
JunoCamera *cam = (JunoCamera *) CameraFactory::Create(c);
Expand Down

0 comments on commit 57f7801

Please sign in to comment.