Skip to content

Commit

Permalink
Update Point contructor
Browse files Browse the repository at this point in the history
  • Loading branch information
henry2004y committed May 26, 2024
1 parent a6e9103 commit d47b75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_unstructured.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function test_trace_unstructured2D()
coords[:,8] = [3, 3]
coords[:,9] = [4, 3]

points = Point[coords[:,i] for i in 1:size(coords,2)]
points = [Point(coords[:,i]...) for i in 1:size(coords,2)]
tris = connect.([(2,3,9), (5,8,7), (5,2,8), (2,9,8)], Triangle)
quads = connect.([(1,2,5,4),(4,5,7,6)], Quadrangle)
mesh = SimpleMesh(points, [tris; quads])
Expand Down

0 comments on commit d47b75c

Please sign in to comment.