rigetti / quil-rs

Quil Parser & Program Builder
https://rigetti.github.io/quil-rs/
Apache License 2.0
18 stars 9 forks source link

test: handle nan in proptest cases #368

Closed erichulburd closed 2 months ago

erichulburd commented 4 months ago

Fixes https://github.com/rigetti/quil-rs/issues/367

github-actions[bot] commented 4 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://rigetti.github.io/quil-rs/pr-preview/pr-368/ on branch quil-py-docs at 2024-06-21 20:31 UTC

antalsz commented 3 months ago

This looks good to me – seems like we might want to have a "nonzero" generator since we use the same code in a few places, but I'd merge this. (Full disclosure: I just ran into this bug.)