Skip to content

Commit e051a0a

Browse files
authored
remove type constraint from _get_shape_and_srtides
1 parent 0a5e5b5 commit e051a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators_lazytensor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ function _gemm_puresparse(alpha, h::LazyTensor{B1,B2,F,I,T}, op::Matrix, beta, r
663663
_gemm_recursive_lazy_dense(1, N_k, 1, 1, alpha*h.factor, shape, strides_k, strides_j, h.indices, h, op, result)
664664
end
665665

666-
function _get_shape_and_srtides(h::LazyTensor{B1,B2,F,I,T}) where {B1,B2,F,I,T<:Tuple{Vararg{SparseOpPureType}}}
666+
function _get_shape_and_srtides(h)
667667
shape_l, shape_r = _comp_size(h.basis_l), _comp_size(h.basis_r)
668668
shape = min.(shape_l, shape_r)
669669
strides_j, strides_k = _strides(shape_l), _strides(shape_r)

0 commit comments

Comments
 (0)