Skip to content

Commit

Permalink
Remove unused function.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunayana committed Mar 15, 2023
1 parent 91d7e0b commit 1d4e7a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wrappers/RichDEM.jl/src/RichDEM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ mutable struct Depression{T}
total_elevation::Float64
end

expand_struct(sub) = map(n -> getfield(sub, n), fieldnames(typeof(sub)))

function Depression(dep::CxxDepression{T}) where {T}
Depression{T}(pit_cell(dep), out_cell(dep), parent(dep), odep(dep), geolink(dep), pit_elev(dep),
out_elev(dep), lchild(dep), rchild(dep), ocean_parent(dep), ocean_linked(dep), dep_label(dep),
Expand Down

0 comments on commit 1d4e7a9

Please sign in to comment.