Skip to content

Commit 64fdc5f

Browse files
authored
Merge pull request #1 from mohamed82008/patch-1
Fix Tetrahedron's number of points
2 parents 2c8f093 + 31445c5 commit 64fdc5f

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)