Skip to content
Snippets Groups Projects
Commit 3c496ae4 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: noiseModel: Updated check for uniform time step size

parent 55c92382
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ Foam::scalar Foam::noiseModel::checkUniformTimeStep
deltaT = dT;
}
if (mag(deltaT - dT) > SMALL)
if (mag(dT/deltaT - 1) > 1e-8)
{
FatalErrorInFunction
<< "Unable to process data with a variable time step"
......
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