Closed aleksandra-kim closed 8 years ago
Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
If a sample is never defined, but only pre-computed vectors are passed in, then comparing to self.sample will fail.
self.sample
So, have to choose between:
self.rng
self.positions
Not sure which approach is best.
Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
Fixes #12. Don't test against .sample because it might not exist
Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
If a sample is never defined, but only pre-computed vectors are passed in, then comparing to
self.sample
will fail.So, have to choose between:
self.rng
is constructed on line 46, orself.positions
.Not sure which approach is best.