Skip to content

Commit 45b302f

Browse files
committed
Remove unused function
1 parent 23ce949 commit 45b302f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/EquationUtils.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ end
124124
# Sharing is never needed for NodeIndex,
125125
# as we trace over the node we are indexing on.
126126
preserve_sharing(::Type{<:NodeIndex}) = false
127-
function Base.copy(node::NodeIndex{T}) where {T}
128-
return tree_mapreduce(
129-
t -> NodeIndex(T, t.val), (_, c...) -> NodeIndex(T, c...), node, NodeIndex{T};
130-
)
131-
end
132127

133128
function index_constants(tree::AbstractExpressionNode, ::Type{T}=UInt16) where {T}
134129
# Essentially we copy the tree, replacing the values

0 commit comments

Comments
 (0)