File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 313313
314314function _subblock_strides (subsz, sz, str)
315315 sz_simplify = Strided. StridedViews. _simplifydims (sz, str)
316- return Strided. StridedViews. _computereshapestrides (subsz, sz_simplify... )
316+ strides = Strided. StridedViews. _computereshapestrides (subsz, sz_simplify... )
317+ isnothing (strides) &&
318+ throw (ArgumentError (" unexpected error in computing subblock strides" ))
319+ return strides
317320end
318321
319322function CacheStyle (:: typeof (fusionblockstructure), W:: HomSpace )
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ include("tensors.jl")
113113include (" diagonal.jl" )
114114include (" planar.jl" )
115115# TODO : remove once we know AD is slow on macOS CI
116- if ! (Sys. isapple () && get (ENV , " CI" , " false" ) == " true" )
116+ if ! (Sys. isapple () && get (ENV , " CI" , " false" ) == " true" ) && isempty ( VERSION . prerelease)
117117 include (" ad.jl" )
118118end
119119include (" bugfixes.jl" )
You can’t perform that action at this time.
0 commit comments