ForwardSimulation / forrustts

Forward time simulation, rust, and tree sequences.
https://docs.rs/forrustts
MIT License
3 stars 0 forks source link

Incorrect final check for forward_simulation example #176

Closed molpopgen closed 3 years ago

molpopgen commented 3 years ago

There's an iter/zip loop at the end of main. The logic is wrong--we just want to assert that each thing is a sample. The co-iteration is not the right way to do that. We should use the first vector to index the second and check that values are non-zero.