Skip to content

Commit 2120d66

Browse files
committed
Update
1 parent d2e0550 commit 2120d66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/MultiObjectiveAlgorithms.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,7 @@ function MOI.get(
582582
attr::MOI.VariablePrimal,
583583
x::Vector{MOI.VariableIndex}
584584
)
585-
sol = model.solutions[attr.result_index]
586-
return sol.x[x]
585+
return MOI.get.(model, attr, x)
587586
end
588587

589588
function MOI.get(model::Optimizer, attr::MOI.ObjectiveValue)

0 commit comments

Comments
 (0)