fix 3d Segments constructor

This commit is contained in:
Daniel Schwabeneder 2019-11-20 09:23:50 +01:00
parent 05ef841d63
commit f5c6b06eb6

View File

@ -145,7 +145,7 @@ end
Segments() = Segments(Float64) Segments() = Segments(Float64)
Segments(::Type{T}) where {T} = Segments(T[]) Segments(::Type{T}) where {T} = Segments(T[])
Segments(p::Int) = Segments(NTuple{2,Float64}[]) Segments(p::Int) = Segments(NTuple{p, Float64}[])
# Segments() = Segments(zeros(0)) # Segments() = Segments(zeros(0))