Minor output changes to runtest

feature/19
Daniel Warner 2012-01-05 22:01:14 +00:00
parent f83bfbe340
commit fc14af1ee1
1 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,10 @@ void RunTle(Tle tle, double start, double end, double inc)
SGP4 model(tle); SGP4 model(tle);
bool running = true; bool running = true;
bool first_run = true; bool first_run = true;
std::cout << " " << std::setprecision(0) << tle.NoradNumber() << " xx" << std::endl;
std::cout << std::setprecision(0) << tle.NoradNumber() << " xx"
<< std::endl;
while (running) while (running)
{ {
try try
@ -66,7 +69,6 @@ void RunTle(Tle tle, double start, double end, double inc)
} }
catch (SatelliteException& e) catch (SatelliteException& e)
{ {
std::cout << e.what() << std::endl;
running = false; running = false;
} }
if ((first_run && current == 0.0) || !first_run) if ((first_run && current == 0.0) || !first_run)