Skip to content

Commit 9403b5f

Browse files
authored
Merge pull request #2 from blegat/fbot/deps
Fix deprecations
2 parents 7dfa091 + 28c372f commit 9403b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/monovec.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct MonomialVector{C} <: AbstractVector{Monomial{C}}
1616
end
1717
end
1818
MonomialVector(vars::Vector{PolyVar{C}}, Z::Vector{Vector{Int}}) where {C} = MonomialVector{C}(vars, Z)
19-
(::Type{MonomialVector{C}})() where {C} = MonomialVector{C}(PolyVar{C}[], Vector{Int}[])
19+
MonomialVector{C}() where {C} = MonomialVector{C}(PolyVar{C}[], Vector{Int}[])
2020

2121
# Generate canonical reperesentation by removing variables that are not used
2222
function canonical(m::MonomialVector)

0 commit comments

Comments
 (0)