1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Fix reading of mixed navigation data files

This commit is contained in:
Carles Fernandez 2018-10-17 10:35:28 +02:00
parent 1d75e6c72c
commit 8c79c1aa91

View File

@ -209,10 +209,7 @@ int main(int argc, char** argv)
if (j != 0) if (j != 0)
{ {
std::ofstream ofs2; std::ofstream ofs2;
if (xml_filename.empty()) xml_filename = "eph_Galileo_E1.xml";
{
xml_filename = "eph_Galileo_E1.xml";
}
try try
{ {
ofs2.open(xml_filename.c_str(), std::ofstream::trunc | std::ofstream::out); ofs2.open(xml_filename.c_str(), std::ofstream::trunc | std::ofstream::out);