Commit ef8af320 authored by camp's avatar camp
Browse files

Removed a second check for max step size.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@12398 18c085ea-50e0-402c-830e-de6fd14e8384
parent 91e8a979
......@@ -556,6 +556,7 @@ avtIVPDopri5::Step(avtIVPField* field, double t_max,
return STEPSIZE_UNDERFLOW;
}
// Check to make sure we don't exceed the max step.
if( h_max != 0.0 && std::abs(h) > std::abs(h_max) )
h = sign( h_max, h );
......@@ -566,12 +567,6 @@ avtIVPDopri5::Step(avtIVPField* field, double t_max,
h = t_max - t;
}
// Check to make sure we don't exceed the max step.
if( h < 0 && -h > h_max )
h = -h_max;
else if( h > h_max )
h = h_max;
n_steps++;
if (DebugStream::Level5())
......
Markdown is supported
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