Skip to content

Commit 31445c5

Browse files
authored
fix Tetrahedron's number of points
1 parent 2c8f093 commit 31445c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeometryBasics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct Simplex{
7878
points::SVector{N, Point}
7979
end
8080
const Line{Dimension, T, P <: AbstractPoint{Dimension, T}} = Simplex{Dimension, T, 2, P}
81-
const Tetrahedron{Dimension, T, P <: AbstractPoint{Dimension, T}} = Simplex{Dimension, T, 2, P}
81+
const Tetrahedron{Dimension, T, P <: AbstractPoint{Dimension, T}} = Simplex{Dimension, T, 4, P}
8282

8383

8484
struct LineString{

0 commit comments

Comments
 (0)