Skip to content

Commit

Permalink
hanging save #5
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsheldon committed Apr 17, 2020
1 parent aca06b3 commit 01fe0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vonFoersterHazards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Base.iterate(E::evolve)
H = hazardrate(E.ages, E.population)
(size(H) == (l, u)) ||
throw(DimensionMismatch("unequal number of states in the extensize hazard rate and the cohorts of population"))
(size(hazardrate(1.0, H)) == (l, u)) ||
(size(hazardrate(E.ages[1], H)) == (l, u)) ||
throw(DimensionMismatch("unequal number of states in the intensize hazard rate and the cohorts of population"))
((E.ages, E.population), 0)
end
Expand Down

0 comments on commit 01fe0f7

Please sign in to comment.