use ostream not std::cout directly.

This commit is contained in:
Liu Ming 2016-05-09 13:30:28 +08:00
parent 938e6119f4
commit cabfffe25d

View File

@ -145,7 +145,7 @@ namespace Opm
{ {
os << " step[ " << i << " ] = " << unit::convert::to( steps_[ i ], unit::day ) << " (days)" << std::endl; os << " step[ " << i << " ] = " << unit::convert::to( steps_[ i ], unit::day ) << " (days)" << std::endl;
} }
std::cout << "sub steps end time = " << unit::convert::to( simulationTimeElapsed(), unit::day ) << " (days)" << std::endl; os << "sub steps end time = " << unit::convert::to( simulationTimeElapsed(), unit::day ) << " (days)" << std::endl;
} }
boost::posix_time::ptime AdaptiveSimulatorTimer::startDateTime() const boost::posix_time::ptime AdaptiveSimulatorTimer::startDateTime() const