Skip to content

Commit

Permalink
Use list of available methods to create parameter range
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnectedSystems committed May 26, 2023
1 parent 783515d commit fe52a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecosystem/Ecosystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Base.@kwdef struct Intervention{N,P,P2} <: EcoModel
# Integer values have a +1 offset to allow for discrete value mapping
# (see `set()` and `map_to_discrete()` methods)
# Bounds are defined as floats to maintain type stability
guided::N = Param(0, ptype="integer", bounds=(-1.0, 20.0 + 1.0), dists="unif",
guided::N = Param(0, ptype="integer", bounds=(-1.0, length(methods_mcda) + 1.0), dists="unif",
name="Guided", description="Choice of MCDA approach.")
seed_TA::N = Param(0, ptype="integer", bounds=(0.0, 1000000.0 + 1.0), dists="unif",
name="Seeded Tabular Acropora", description="Number of enhanced Tabular Acropora to seed per deployment year.")
Expand Down

0 comments on commit fe52a4a

Please sign in to comment.