From d1b45a7c16a9e85f45e2a7d7a29fddd05aaf68d0 Mon Sep 17 00:00:00 2001 From: "Observatoire Volcanologique et Sismologique de Martinique (OVSM/IPGP)" Date: Tue, 4 Oct 2016 08:36:46 +0000 Subject: [PATCH] Bug correction for S-phases in ew2sc3 Correction of a typo preventing the import of S-phases from EarthWorm S-phases were ignored --- src/ipgp/apps/ew2sc3/ew2sc3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipgp/apps/ew2sc3/ew2sc3.cpp b/src/ipgp/apps/ew2sc3/ew2sc3.cpp index 82f80c30f1..98dc7274b7 100644 --- a/src/ipgp/apps/ew2sc3/ew2sc3.cpp +++ b/src/ipgp/apps/ew2sc3/ew2sc3.cpp @@ -1071,7 +1071,7 @@ int EW2SC3::extractOrigin(char* msg) { p_idx++; } - if ( pPhase.find("S") != string::npos ) { + if ( sPhase.find("S") != string::npos ) { Time st; st.set(to_int(year), to_int(mdhm.substr(0, 2)),