Skip to content

Commit

Permalink
Test disabling bound check
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Dec 2, 2024
1 parent 1cac830 commit 044a20d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/specializations/Triangle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ end

function _parametric(triangle::Meshes.Triangle)
function f(t1, t2)
#=
if any(Iterators.map(n -> (n < 0) || (n > 1), (t1, t2)))
msg = "triangle(t1, t2) is not defined for (t1, t2) outside [0, 1]²."
throw(DomainError((t1, t2), msg))
end
=#

# Form a line segment between sides
a = triangle(0, t2)
Expand Down

0 comments on commit 044a20d

Please sign in to comment.