Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed May 9, 2022
1 parent 2f57e58 commit c30cd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fwdpy11/discrete_demography.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ def from_demes_graph(
if start > 0:
start = start + 1
end = model_times.convert_time(e.end_time) + 1
if not end > start
if not end > start:
raise ValueError(
f"epoch end time must be > start, got end: {end}, start: {start}"
)
Expand Down

0 comments on commit c30cd2d

Please sign in to comment.