We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c818160 commit 0ed90dfCopy full SHA for 0ed90df
1 file changed
src/FileFormats/MOF/read.jl
@@ -393,14 +393,12 @@ end
393
394
function function_to_moi(
395
::Val{:VectorOfVariables},
396
- ::Type{T},
+ ::Type,
397
object::Dict,
398
name_map::Dict{String,MOI.VariableIndex},
399
-) where {T}
+)
400
return MOI.VectorOfVariables(
401
- MOI.VariableIndex[
402
- name_map[variable] for variable::String in object["variables"]
403
- ],
+ [name_map[variable::String] for variable in object["variables"]],
404
)
405
end
406
0 commit comments