Skip to content

Commit a1f3cff

Browse files
committed
Fix formatting
1 parent f12640a commit a1f3cff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Nonlinear/SymbolicAD.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function test_derivative()
9191
op(:*, x, op(:^, x, x - 1)),
9292
op(:*, op(:^, x, x), op(:log, x)),
9393
),
94-
op(:^, x, 3)=>3.0 * x * x,
94+
op(:^, x, 3)=>3.0*x*x,
9595
# :/
9696
op(:/, x, 2)=>0.5,
9797
op(
@@ -401,7 +401,7 @@ function test_simplify_VectorNonlinearFunction()
401401
return op(:+, op(:-, f, 0.0), 0.0)
402402
end
403403
f = MOI.VectorNonlinearFunction(wrap.([y; x_plus]))
404-
g = MOI.Utilities.vectorize([sum(1.0.*x.*x); x])
404+
g = MOI.Utilities.vectorize([sum(1.0 .* x .* x); x])
405405
@test SymbolicAD.simplify(f) g
406406
return
407407
end
@@ -742,7 +742,7 @@ function test_simplify_if_quadratic()
742742
op(:/, x, 2)=>0.5*x,
743743
op(:/, 1.0 * x, 2)=>0.5*x,
744744
op(:/, 2.0 * x, 2)=>x,
745-
op(:/, 2.0 * x * x, 2)=>1.0 * x * x,
745+
op(:/, 2.0 * x * x, 2)=>1.0*x*x,
746746
# Early termination because not affine
747747
op(:+, op(:sin, x))=>nothing,
748748
op(:-, op(:sin, x))=>nothing,

0 commit comments

Comments
 (0)