Skip to content

Commit a8bbc2f

Browse files
committed
BUG: phase.relocInfo.residual
1 parent e7f58c3 commit a8bbc2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/scrtdd/hdd/hypodd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ HypoDD::updateRelocatedEvents(const Solver& solver,
809809
double travelTime = obsparams.get(event.id, station.id, phaseTypeAsChar).travelTime;
810810
phase.relocInfo.residual = travelTime - (phase.time - event.time).length();
811811
rmsCount++;
812-
} catch ( exception &e ) { }
812+
} catch ( exception &e ) { phase.relocInfo.residual = 0; }
813813

814814
event.rms += (phase.relocInfo.residual * phase.relocInfo.residual);
815815
if ( phase.procInfo.type == Phase::Type::P )

0 commit comments

Comments
 (0)