Skip to content

Commit 7850171

Browse files
committed
fix example
1 parent 2ee6879 commit 7850171

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/solution_example.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function solution_example(; fun=false)
101101
U = fun ? u : vcat([u(t)' for t in T]...)
102102

103103
# variable: v Vector{Float64}
104-
v = Float64[]
104+
v = [1.0, 1.0] #Float64[]
105105

106106
# objective: Float64
107107
objective = 0.5 *^2 * (tf - t0)^3 / 3 + β^2 * (tf - t0) - α * β * (tf - t0)^2)

0 commit comments

Comments
 (0)