Commit eb00ae62 authored by Ken Edmundson's avatar Ken Edmundson
Browse files

fixed bug in determing if lidar point time lies within image start and stop times

parent f1b5005b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -83,7 +83,8 @@ void IsisMain() {
    lidarPoint->SetAprioriSurfacePoint(SurfacePoint(lat, lon, radius));
    
    for (int j = 0; j < images.size(); j++) {
      if (images[j].startTime <= time || time <= images[j].endTime) {
//      if (images[j].startTime <= time || time <= images[j].endTime) {
      if (time >= images[j].startTime && time <= images[j].endTime) {
        Cube *cube = cubeMgr.OpenCube(images[j].name.expanded());
        
        if (cube != NULL) {