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
in _generic_matmatmul! there is a call to copyto! (Ref.):
copyto!(Btile, 1:mB, 1:nB, tB, B, 1:mB, 1:nB)
in which (Ref.)Btile will only be initialized in the range (1:mB, 1:nB) which is smaller than size(Btile). Afterwards conj!(Btile) is called which now also tries to conjugate also the uninitialized entries outside (1:mB, 1:nB).
This leads to problems with custom types since the uninitialized memory does not necessarily represent a valid object and conj could fail on invalid objects that violate certain assumptions.
Possibly conj! should only be called on B[1:mB, 1:nB]?
The text was updated successfully, but these errors were encountered:
Hi,
in
_generic_matmatmul!
there is a call tocopyto!
(Ref.):in which (Ref.)
Btile
will only be initialized in the range(1:mB, 1:nB)
which is smaller thansize(Btile)
. Afterwardsconj!(Btile)
is called which now also tries to conjugate also the uninitialized entries outside(1:mB, 1:nB)
.This leads to problems with custom types since the uninitialized memory does not necessarily represent a valid object and
conj
could fail on invalid objects that violate certain assumptions.Possibly
conj!
should only be called onB[1:mB, 1:nB]
?The text was updated successfully, but these errors were encountered: