Skip to content

Commit

Permalink
Merge pull request #122 from qua4tre/qua4tre-patch-1
Browse files Browse the repository at this point in the history
Convert keys to strings for RawOptimizerAttribute.
  • Loading branch information
imciner2 authored Jun 13, 2024
2 parents 8197027 + 906c90c commit d11ed6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ mutable struct Optimizer <: MOI.AbstractOptimizer
rowranges,
)
for (key, value) in kwargs
MOI.set(optimizer, MOI.RawOptimizerAttribute(key), value)
MOI.set(optimizer, MOI.RawOptimizerAttribute(String(key)), value)
end
return optimizer
end
Expand Down

0 comments on commit d11ed6e

Please sign in to comment.