-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
No method matching Irrational{:log2π} #521
Comments
Yes, also getting this bug trying to differentiate through Normals |
See JuliaLang/julia#34773. If you copy the code from that PR, the error should go away. |
Also the next release of DistributionsAD.jl will fix this. |
Okay but can you give a previous version of Distributions that doesn't have this error? Working on an assignment starter code and students won't be expected to patch julia... |
I am not sure which version. You can possibly make a file for them to include directly in their code. If you use the DistributionsAD#master now, your code should work. And in about week, a new release will be made. |
I'll try pinning DistributionsAD#master now |
Or just pin DiffRules to 1.0.0 instead. |
If you need nothing else from DistributionsAD. |
If Zygote uses Compat.jl, this issue should be solved. |
@mohamed82008 |
On Julia
|
I get this error on
|
I'm pretty sure this is the offending line of code, and yes, this should be fixed once |
This seems similar to #309.
On Julia
v1.3
, Zygotev0.4.7
and Distributionsv0.22.4
:The text was updated successfully, but these errors were encountered: