Skip to content

Commit 5ef26e8

Browse files
authored
Update SymbolicAD.jl
1 parent c749d83 commit 5ef26e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Nonlinear/SymbolicAD.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,7 @@ function test_simplify_VectorQuadraticFunction()
226226
x = MOI.VariableIndex(1)
227227
f = MOI.VectorQuadraticFunction{Float64}(
228228
MOI.VectorQuadraticTerm{Float64}[],
229-
MOI.VectorAffineTerm{Float64}[
230-
MOI.VectorAffineTerm(2, MOI.ScalarAffineTerm(3.0, x))
231-
],
229+
[MOI.VectorAffineTerm{Float64}(2, MOI.ScalarAffineTerm(3.0, x))],
232230
[1.0, 0.0],
233231
)
234232
g = MOI.Utilities.operate(vcat, Float64, 1.0, 3.0 * x)

0 commit comments

Comments
 (0)