Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
felimomo committed Feb 27, 2024
1 parent bdb5b9b commit a4aa852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rl4caribou/envs/caribou.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def dynamics(pop, effort, harvest_fn, p, timestep=1):
pop = harvest_fn(pop, effort)
M, B, W = pop[0], pop[1], pop[2] # moose, caribou, wolf
denominator = (1 + B**x * p['h_B'] * p['a_B'] + M**x * p['h_M'] * p['a_M'])
denominator = (1 + B**p['x'] * p['h_B'] * p['a_B'] + M**p['x'] * p['h_M'] * p['a_M'])

return np.float32([
M + M * (
Expand Down

0 comments on commit a4aa852

Please sign in to comment.