You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't the last line just be dxv .= _droplike(dy, dxv)? This gives the correct behavior and I can't think of why one would want to add to an array filled with nothing instead?
The text was updated successfully, but these errors were encountered:
I ran into a Zygote bug related to array slicing. Here's a MWE:
This is a relatively well-known issue, Zygote uses
nothing
as a stronger zero. Internally, this is the source of the error:Zygote.jl/src/lib/array.jl
Lines 45 to 47 in 17a017f
Shouldn't the last line just be
dxv .= _droplike(dy, dxv)
? This gives the correct behavior and I can't think of why one would want to add to an array filled withnothing
instead?The text was updated successfully, but these errors were encountered: