Skip to content

Commit

Permalink
Update src/specializations/Triangle.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 c3637cd commit 5b313f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/specializations/Triangle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ function _parametric(triangle::Meshes.Triangle)
throw(DomainError((t1, t2), msg))
end

return triangle(t1 * t2, t2 - (t1 * t2))
t1t2 = t1 * t2
return triangle(t1t2, t2 - t1t2)
end
return f
end

0 comments on commit 5b313f5

Please sign in to comment.