Closed zuhengxu closed 1 year ago
Btw, can you bump the patch version?
Btw, can you bump the patch version?
just did!
Looks good (a few allocations could be removed), could we also add tests for the bug?
@devmotion sure! What kind of tests you want to include? Like the changed code returns the same value as the original one given Float64 inputs?
The failing example in https://github.com/TuringLang/Bijectors.jl/issues/266 would be good, I think. That is, ensuring that the construction does not error. And then probably, as you suggested (I think), a quick consistency check against the Float64
version would be reasonable.
The failing example in #266 would be good, I think. That is, ensuring that the construction does not error. And then probably, as you suggested (I think), a quick consistency check against the
Float64
version would be reasonable.
Tests included. No error!
Thanks, @zuhengxu -- congrats on the first successful Turing PR!
A simple fix to issue #266.