Skip to content

Commit

Permalink
Merge pull request #375 from sathvikbhagavan/sb/remove_treeview
Browse files Browse the repository at this point in the history
Remove TreeViews
  • Loading branch information
isaacsas authored Dec 4, 2023
2 parents 3fd02b0 + 627a42b commit c31b4d3
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
TreeViews = "a2a6695c-b41b-5b7d-aed9-dbfdeacea5d7"
UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"

[weakdeps]
Expand All @@ -41,7 +40,6 @@ RecursiveArrayTools = "2"
Reexport = "0.2, 1.0"
SciMLBase = "1.51, 2"
StaticArrays = "0.10, 0.11, 0.12, 1.0"
TreeViews = "0.3"
UnPack = "1.0.2"
julia = "1.6"

Expand Down
2 changes: 1 addition & 1 deletion src/JumpProcesses.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module JumpProcesses
using Reexport
@reexport using DiffEqBase

using RandomNumbers, TreeViews, LinearAlgebra, Markdown, DocStringExtensions
using RandomNumbers, LinearAlgebra, Markdown, DocStringExtensions
using DataStructures, PoissonRandom, Random, ArrayInterface
using FunctionWrappers, UnPack
using Graphs
Expand Down
1 change: 0 additions & 1 deletion src/coupled_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@ add_idxs2(::Type{T}, expr) where {T <: CoupledArray} = :($(expr).u_control)
end

Base.show(io::IO, A::CoupledArray) = show(io, A.u)
TreeViews.hastreeview(x::CoupledArray) = true
plot_indices(A::CoupledArray) = eachindex(A)
flip_u!(A::CoupledArray) = (A.order = !A.order)
1 change: 0 additions & 1 deletion src/extended_jump_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ function recursivecopy!(dest::T, src::T) where {T <: ExtendedJumpArray}
recursivecopy!(dest.jump_u, src.jump_u)
end
Base.show(io::IO, A::ExtendedJumpArray) = show(io, A.u)
TreeViews.hastreeview(x::ExtendedJumpArray) = true
plot_indices(A::ExtendedJumpArray) = eachindex(A.u)

## broadcasting
Expand Down
2 changes: 0 additions & 2 deletions src/problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -459,5 +459,3 @@ function Base.show(io::IO, mime::MIME"text/plain", A::JumpProblem)
println(io, "Have a regular jump")
end
end

TreeViews.hastreeview(x::JumpProblem) = true

0 comments on commit c31b4d3

Please sign in to comment.