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
StridedMatrix is a annoying impossible extend union type.
it is not too hard for a custom array type to implement all the required methods.
(especially if it is a wrapper type that just delegates them all),
However it is not possible for a new type to join a Union.
I suggest that all dispatches on StridedMatrix in the package be replaced with AbstractMatrix.
If that throws an error deeper in the code because they hit some method that actually needs a StridedMatrix and they don't have the methods needed then so be it.
The text was updated successfully, but these errors were encountered:
StridedMatrix
is a annoying impossible extend union type.it is not too hard for a custom array type to implement all the required methods.
(especially if it is a wrapper type that just delegates them all),
However it is not possible for a new type to join a
Union
.I suggest that all dispatches on
StridedMatrix
in the package be replaced withAbstractMatrix
.If that throws an error deeper in the code because they hit some method that actually needs a
StridedMatrix
and they don't have the methods needed then so be it.The text was updated successfully, but these errors were encountered: