Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/spaces/homspace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,10 @@ end

function _subblock_strides(subsz, sz, str)
sz_simplify = Strided.StridedViews._simplifydims(sz, str)
return Strided.StridedViews._computereshapestrides(subsz, sz_simplify...)
strides = Strided.StridedViews._computereshapestrides(subsz, sz_simplify...)
isnothing(strides) &&
throw(ArgumentError("unexpected error in computing subblock strides"))
return strides
end

function CacheStyle(::typeof(fusionblockstructure), W::HomSpace)
Expand Down
Loading