fixup! TimeMap: Expose more data

This commit is contained in:
Andreas Lauser
2014-02-26 15:46:18 +01:00
parent 57f199a6e8
commit b9956385ef
2 changed files with 5 additions and 5 deletions

View File

@@ -191,7 +191,7 @@ namespace Opm {
}
}
double TimeMap::getTimeStepLength(int tStepIdx) const
double TimeMap::getTimeStepLength(size_t tStepIdx) const
{
assert(0 <= tStepIdx && tStepIdx < numTimesteps());
const boost::posix_time::ptime &t1
@@ -203,7 +203,7 @@ namespace Opm {
return static_cast<double>(deltaT.total_milliseconds())/1000.0;
}
double TimeMap::getTimePassedUntil(int tStepIdx) const
double TimeMap::getTimePassedUntil(size_t tStepIdx) const
{
assert(0 <= tStepIdx && tStepIdx < numTimesteps());
const boost::posix_time::ptime &t1