Commit 76c66bd7 authored by Julian Marcon's avatar Julian Marcon
Browse files

Tweak tolerance

parent 4b0d344e
......@@ -74,7 +74,7 @@ void Generator2D::Process()
// Check that cad is 2D
Array<OneD, NekDouble> bndBox = m_mesh->m_cad->GetBoundingBox();
ASSERTL0(bndBox[5] - bndBox[4] < 1.0e-10, "CAD isn't 2D");
ASSERTL0(fabs(bndBox[5] - bndBox[4]) < 1.0e-7, "CAD isn't 2D");
if (m_mesh->m_verbose)
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