Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
ocots committed Mar 31, 2024
1 parent 27c52be commit 5968bce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_STORE

# Files generated by invoking Julia with --code-coverage
*.jl.cov
*.jl.*.cov
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CTBase"
uuid = "54762871-cc72-4466-b8e8-f6c8b58076cd"
authors = ["Olivier Cots <[email protected]>"]
version = "0.7.10"
version = "0.7.11"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
4 changes: 2 additions & 2 deletions src/CTBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export replace_call, constraint_type
export @def

# repl
export ct_repl
isdefined(Base, :active_repl) && ct_repl()
##export ct_repl
##isdefined(Base, :active_repl) && ct_repl()

end
14 changes: 0 additions & 14 deletions src/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -396,20 +396,6 @@ function recipe_label(sol::OptimalControlSolution, xx::Union{Symbol,Tuple{Symbol
return label
end

@recipe function f(sol::OptimalControlSolution,
xx::Union{Symbol,Tuple{Symbol,Integer}},
yy::Union{Symbol,Tuple{Symbol,Integer}})

#
x = __get_data_plot(sol, xx)
y = __get_data_plot(sol, yy)

#
label = recipe_label(sol, xx, yy)

return x, y
end

"""
$(TYPEDSIGNATURES)
Expand Down

0 comments on commit 5968bce

Please sign in to comment.