File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -578,8 +578,9 @@ function VectorAffineFunction{T}(f::VectorOfVariables) where {T}
578578 return VectorAffineFunction (terms, constants)
579579end
580580
581-
582- function VectorAffineFunction (elements:: Vector{ScalarAffineFunction{T}} ) where {T}
581+ function VectorAffineFunction (
582+ elements:: Vector{ScalarAffineFunction{T}} ,
583+ ) where {T}
583584 terms = Vector {VectorAffineTerm{T}} ()
584585 constants = Vector {T} ()
585586 for (idx, saf) in enumerate (elements)
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ function test_functions_convert_ScalarQuadraticFunction()
130130end
131131
132132function test_vectoraffinefunction_creation ()
133- x = MOI. VariableIndex (1 )
133+ x = MOI. VariableIndex (1 )
134134 f = MOI. VectorAffineFunction ([1.0 * x, 2.0 * x])
135135 @test f. constants == [0.0 , 0.0 ]
136136 @test f. terms[1 ]. scalar_term. coefficient == 1.0
You can’t perform that action at this time.
0 commit comments