Open baedan opened 2 years ago
The first example works for me if I put it in a let
block -- global variables are weird. But the second never seems to. Zygote v0.6.41, Julia nightly.
oh, that's super weird. i would've guessed having it in a let
block would only make it more likely to work.
Zygote v0.6.41, Julia 1.7.3 MWE:
error
somehow this only works with an anonymous function. am i missing something obvious?