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
Looking at the lowering, A[[1, 2]] .+= [1.0, 2.0] calls Base.maybeview, which falls back to getindex on non-AbstractArrays. We could try @forwarding maybeview to the inner array, but I'm not sure what implications that would have for AD correctness.
I don't believe anything has changed. Frankly, I have a mind to close most of these Buffer-related issues as WONTFIX so that people are dissuaded from using it and don't expect any improvements to the interface. It has been a buggy mess from day one and anyone who needs mutation is better served by another AD (Enzyme, Mooncake, even ForwardDiff) these days.
Is the below behavior expected or a bug?
Without broadcasting it looks good:
With a regular array it works as expected:
Commit 96786e22cc (2020-08-01 23:44 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
The text was updated successfully, but these errors were encountered: