Skip to content

Commit

Permalink
Update src/WaterFlow.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Albert de Montserrat <[email protected]>
  • Loading branch information
boriskaus and albert-de-montserrat authored Jul 2, 2024
1 parent 9324c16 commit 8069bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WaterFlow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function waterflows(Topo::GeoData, flowdir_fn= WhereTheWaterFlows.d8dir_feature;
nin = zeros(Int8, ni)
c = zeros(Int64, ni)

area[:,:,1], slen[:,:,1], dir[:,:,1], nout[:,:,1], nin[:,:,1], sinks, pits, c[:,:,1], bnds = waterflows(dem, cellarea, flowdir_fn;
@views area[:,:,1], slen[:,:,1], dir[:,:,1], nout[:,:,1], nin[:,:,1], sinks, pits, c[:,:,1], bnds = waterflows(dem, cellarea, flowdir_fn;
feedback_fn=feedback_fn, drain_pits=drain_pits, bnd_as_sink=bnd_as_sink)

catchment_large = prune_catchments(c, minsize; val=0)
Expand Down

0 comments on commit 8069bd9

Please sign in to comment.