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.
1 parent fec457d commit f73583bCopy full SHA for f73583b
src/lphrep.jl
@@ -21,7 +21,8 @@ function LPHRep(model::MOI.ModelLike)
21
MOI.copy_to(MOI.Bridges.full_bridge_optimizer(_model, Float64), model)
22
return LPHRep(_model)
23
end
24
-FullDim(rep::LPHRep) = MOI.get(rep.model, MOI.NumberOfVariables())
+# returns `Int64` so need to convert for 32-bit system
25
+FullDim(rep::LPHRep) = convert(Int, MOI.get(rep.model, MOI.NumberOfVariables()))
26
27
hvectortype(::Type{LPHRep{T}}) where {T} = SparseVector{T, Int}
28
similar_type(::Type{LPHRep{S}}, ::FullDim, ::Type{T}) where {S, T} = LPHRep{T}
0 commit comments