Skip to content

Commit

Permalink
change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Feb 16, 2024
1 parent 0e7e1d1 commit 8fbbb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogcore/demographics.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def get_pop_objs(
assert (
T > 2 * T0
) # ensure time path 2x as long as allows rates to fluctuate
if imm_rates is not None:
if imm_rates is not None and pop_dist is None:
assert (
infer_pop is True
) # if pass immigration rates, need to infer population
Expand Down

0 comments on commit 8fbbb9c

Please sign in to comment.