Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Sep 3, 2019
1 parent d9bbb5f commit e447f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function MOI.is_set_by_optimize(::Union{CertificateMonomials,
end

# This is type piracy but we tolerate it.
const ObjectWithoutIndex = Union{MultivariateMoments.MomentMatrix{<:MOI.Utilities.ObjectWithoutIndex}, GramMatrix{<:MOI.Utilities.ObjectWithoutIndex}}
const ObjectWithoutIndex = GramMatrix{<:MOI.Utilities.ObjectWithoutIndex}
const ObjectOrTupleWithoutIndex = Union{ObjectWithoutIndex, Tuple{Vararg{ObjectWithoutIndex}}}
const ObjectOrTupleOrArrayWithoutIndex = Union{ObjectOrTupleWithoutIndex, AbstractArray{<:ObjectOrTupleWithoutIndex}}
MOI.Utilities.map_indices(::Function, x::ObjectOrTupleOrArrayWithoutIndex) = x
Expand Down

2 comments on commit e447f52

@blegat
Copy link
Member Author

@blegat blegat commented on e447f52 Sep 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/3207

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.5 -m "<description of version>" e447f52bef580d071f7bce0b96360a0f0d5048e1
git push origin v0.3.5

Please sign in to comment.