Skip to content

Commit 044a20d

Browse files
committed
Test disabling bound check
1 parent 1cac830 commit 044a20d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/specializations/Triangle.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ end
2828

2929
function _parametric(triangle::Meshes.Triangle)
3030
function f(t1, t2)
31+
#=
3132
if any(Iterators.map(n -> (n < 0) || (n > 1), (t1, t2)))
3233
msg = "triangle(t1, t2) is not defined for (t1, t2) outside [0, 1]²."
3334
throw(DomainError((t1, t2), msg))
3435
end
36+
=#
3537

3638
# Form a line segment between sides
3739
a = triangle(0, t2)

0 commit comments

Comments
 (0)