Skip to content

Commit 3cd8f3e

Browse files
odowblegat
andcommitted
Update src/Utilities/universalfallback.jl
Co-authored-by: Benoît Legat <[email protected]>
1 parent d56a837 commit 3cd8f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Utilities/universalfallback.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ function MOI.get(
491491
)
492492
list = MOI.get(uf.model, listattr)
493493
for (attr, value) in uf.varattr
494-
if value !== nothing
494+
if any(!isnothing, values(value))
495495
push!(list, attr)
496496
end
497497
end

0 commit comments

Comments
 (0)