Skip to content

Commit ad8c9ce

Browse files
committed
BUG: theoreticalPhase options not read correctly
1 parent 56181c0 commit ad8c9ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/scrtdd/rtdd.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -542,10 +542,10 @@ bool RTDD::validateParameters()
542542
} catch ( ... ) { prof->ddcfg.ddObservations2.xcorrMaxInterEvDist = 3; }
543543

544544
try {
545-
prof->useTheoreticalAuto = configGetDouble(prefix + "theoreticalPhaseAutoOrigin");
545+
prof->useTheoreticalAuto = configGetBool(prefix + "theoreticalPhaseAutoOrigin");
546546
} catch ( ... ) { prof->useTheoreticalAuto = true; }
547547
try {
548-
prof->useTheoreticalManual = configGetDouble(prefix + "theoreticalPhaseManualOrigin");
548+
prof->useTheoreticalManual = configGetBool(prefix + "theoreticalPhaseManualOrigin");
549549
} catch ( ... ) { prof->useTheoreticalManual = false; }
550550

551551
prefix = string("profile.") + *it + ".doubleDifferenceObservations.waveformFiltering.";

0 commit comments

Comments
 (0)