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
For views to be AbstractWeights, we will need not only to override view, but also to allow each AbstractWeights type to wrap any kind of array (including SubArray).
Views of weights are not
<:AbstractWeight
They are only
<:AbstractVector
This messes with some dispatches.
For example:
Work-around is to use:
AnalyticWeights(@view w[1:10])
A possible solution is to overload the functions the create views and make then return subtypes of
AbstractWeight
The text was updated successfully, but these errors were encountered: