From 160360a2a6d2cf1f9bdbbdefa921c2bbca8f394e Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 27 Mar 2023 15:09:15 -0500 Subject: [PATCH] Remove old condition for cylindrical mesh --- src/mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh.cpp b/src/mesh.cpp index 5eb400a4b..3d94d21a0 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -1091,7 +1091,7 @@ double CylindricalMesh::find_r_crossing( if (std::abs(c) <= 1e-10) return INFTY; - if (-p - D > l && std::abs(c) > 1e-10) + if (-p - D > l) return -p - D; if (-p + D > l) return -p + D;