@@ -270,13 +270,13 @@ function lazy_combination(op::F, α, a, β, b) where {F<:Function}
270270 )
271271end
272272
273- function lazy_combination (op:: F , α, a, β, b, I:: UnitRange ) where {F<: Function }
273+ function lazy_combination (op:: F , α, a, β, b, I:: AbstractUnitRange ) where {F<: Function }
274274 return lazy_combination (op, α, view (a, I), β, view (b, I))
275275end
276276function lazy_combination (op:: F , a, b, i:: Integer , args:: Vararg{Any,N} ) where {F<: Function ,N}
277277 return lazy_combination (op, a[i], b, b[i], a, args... )
278278end
279- function lazy_combination (op:: F , a, b, i:: UnitRange , I:: UnitRange ) where {F<: Function }
279+ function lazy_combination (op:: F , a, b, i:: AbstractUnitRange , I:: AbstractUnitRange ) where {F<: Function }
280280 return lazy_combination (op, view (a, i), b, view (b, i), a, I)
281281end
282282
@@ -412,7 +412,7 @@ function _push_term(I::Vector, J::Vector, V::Vector, neg::Bool, r::Integer, term
412412 push! (J, term. variable. value)
413413 push! (V, neg ? - term. coefficient : term. coefficient)
414414end
415- function _push_term (I:: Vector , J:: Vector , V:: Vector , neg:: Bool , r:: UnitRange , term:: MOI.VectorAffineTerm )
415+ function _push_term (I:: Vector , J:: Vector , V:: Vector , neg:: Bool , r:: AbstractUnitRange , term:: MOI.VectorAffineTerm )
416416 _push_term (I, J, V, neg, r[term. output_index], term. scalar_term)
417417end
418418
0 commit comments