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
Arithmetic operations B @ A are now only implemented for owned storage B
Previously, operators like +, - etc, denoted by @ in general, were
implemented so that they allowed ArrayViewMut as the left hand side
operand. It would update the data in the view, and return the same view.
This can be confusing, and was suggested by @SuperFluffy to be removed.
We tentatively remove those implementations here.
To work around B @ A not being allowed for a mutable view `B`, you can
use B @= A instead, or the corresponding stable methods iadd, imul, etc.
Please see the Arithmetic Operations overview in the `ArrayBase` docs
for an easy to read overview.
Fixes#83
0 commit comments