Skip to content

Commit 1a2b4af

Browse files
committed
formatting
1 parent 19c9b76 commit 1a2b4af

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/functions.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ end
133133

134134
function test_VectorQuadraticFunction_constructor()
135135
x = MOI.VariableIndex.(1:2)
136-
expr1 = LinearAlgebra.dot(1.0 * x, x) + LinearAlgebra.dot([2.0, 3.0], x) + 4.2
137-
expr2 = LinearAlgebra.dot(3.0 * x, x) + LinearAlgebra.dot([1.0, 3.0], x) + 1.2
136+
expr1 =
137+
LinearAlgebra.dot(1.0 * x, x) + LinearAlgebra.dot([2.0, 3.0], x) + 4.2
138+
expr2 =
139+
LinearAlgebra.dot(3.0 * x, x) + LinearAlgebra.dot([1.0, 3.0], x) + 1.2
138140
f = MOI.VectorQuadraticFunction([expr1, expr2])
139141
f_vec = MOI.Utilities.vectorize([expr1, expr2])
140142
@test f f_vec

0 commit comments

Comments
 (0)