Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapiano committed Jul 20, 2023
2 parents ffcc55b + bfd76f2 commit 23fa4c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/seeding.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ using NamedDims
seeded_area = NamedDimsArray(rand(Uniform(0.0, 500.0), 3),taxa=["N_seed_TA","N_seed_CA","N_seed_SM"])

# evaluate seeding distributions
seed_dist = distribute_seeded_corals(total_site_area, prefseedsites,available_space, seeded_area)
seed_dist = distribute_seeded_corals(total_site_area, prefseedsites, available_space, seeded_area)

# Area to be seeded for each site
total_area_seed = seed_dist.* total_site_area[prefseedsites]
total_area_seed = seed_dist'.* total_site_area[prefseedsites]

# total area of seeded corals
total_area_coral_out = sum(total_area_seed,dims=1)(1)
Expand Down

0 comments on commit 23fa4c8

Please sign in to comment.