Skip to content

Commit

Permalink
Update src/specializations/Tetrahedron.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Lampert <[email protected]>
  • Loading branch information
mikeingold and JoshuaLampert authored Dec 2, 2024
1 parent de2c784 commit 4b3ad9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/specializations/Tetrahedron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ end
function _parametric(tetrahedron::Meshes.Tetrahedron)
function f(t1, t2, t3)
if any(Iterators.map(n -> (n < 0) || (n > 1), (t1, t2, t3)))
msg = "tetrahedron(t1, t2, t3) is not defined for t outside [0, 1]."
msg = "tetrahedron(t1, t2, t3) is not defined for (t1, t2, t3) outside [0, 1]³."
throw(DomainError((t1, t2, t3), msg))
end

Expand Down

0 comments on commit 4b3ad9d

Please sign in to comment.