We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7dfa091 + 28c372f commit 9403b5fCopy full SHA for 9403b5f
src/monovec.jl
@@ -16,7 +16,7 @@ struct MonomialVector{C} <: AbstractVector{Monomial{C}}
16
end
17
18
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}[])
+MonomialVector{C}() where {C} = MonomialVector{C}(PolyVar{C}[], Vector{Int}[])
20
21
# Generate canonical reperesentation by removing variables that are not used
22
function canonical(m::MonomialVector)
0 commit comments