File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 572572
573573function _get_variable_from_name (
574574 model:: Model{T} ,
575- cache:: _ReadCache ,
575+ cache:: _ReadCache{T} ,
576576 name:: String ,
577577) where {T}
578578 current_variable = get (cache. name_to_variable, name, nothing )
@@ -676,8 +676,8 @@ _half(x::Integer) = div(x, 2)
676676
677677function _parse_function (
678678 f:: MOI.ScalarAffineFunction{T} ,
679- model:: Model ,
680- cache:: _ReadCache ,
679+ model:: Model{T} ,
680+ cache:: _ReadCache{T} ,
681681 tokens:: Vector{String} ,
682682) where {T}
683683 N = length (tokens)
775775function _parse_section (
776776 :: typeof (_KW_CONSTRAINTS),
777777 model:: Model{T} ,
778- cache:: _ReadCache ,
778+ cache:: _ReadCache{T} ,
779779 line:: AbstractString ,
780780) where {T}
781781 # SOS constraints should be in their own "SOS" section, but we can also
@@ -877,7 +877,7 @@ _is_equal_to(token) = token in ("=", "==")
877877function _parse_section (
878878 :: typeof (_KW_BOUNDS),
879879 model:: Model{T} ,
880- cache:: _ReadCache ,
880+ cache:: _ReadCache{T} ,
881881 line:: AbstractString ,
882882) where {T}
883883 tokens = _tokenize (line)
@@ -1010,7 +1010,7 @@ end
10101010function _parse_section (
10111011 :: typeof (_KW_SOS),
10121012 model:: Model{T} ,
1013- cache:: _ReadCache ,
1013+ cache:: _ReadCache{T} ,
10141014 line:: AbstractString ,
10151015) where {T}
10161016 # SOS constraints can have all manner of whitespace issues with them.
You can’t perform that action at this time.
0 commit comments