Commit 35266c73 authored by malossi's avatar malossi
Browse files

Fixing a bug in the computation of the time step number

parent a76559fc
......@@ -176,7 +176,7 @@ public:
/*!
* @return time step performed
*/
UInt getTimeStepNumber() const { return static_cast <UInt> ( ( M_timeStep-M_initialTime ) / M_timeStep ); }
UInt getTimeStepNumber() const { return static_cast <UInt> ( ( M_time-M_initialTime ) / M_timeStep ); }
//! Get the BDF order used
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment