Skip to content

Commit b144f33

Browse files
authored
Update test_onepass.jl
1 parent a1297da commit b144f33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_onepass.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ function test_onepass()
780780
w R, control
781781
r = y₃
782782
v = y₄
783-
aa = y₁(s) + v³ + z₂
783+
aa = y₁(s) + v^3 + z₂
784784
(s) == [aa(s) + w(s)^2, r(s)^2, 0, 0]
785785
0 => min # generic (untested)
786786
end
@@ -2805,4 +2805,4 @@ function test_onepass()
28052805
@test __dynamics(o)(0, x, u, z) == [x[2], x[1]^2 + z[1]]
28062806
@test lagrange(o)(0, x, u, z) == u[1]^2 + z[1] * x[1]
28072807
end
2808-
end
2808+
end

0 commit comments

Comments
 (0)