diff --git a/Project.toml b/Project.toml index c15f9724..327cea0e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "BlockSparseArrays" uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4" authors = ["ITensor developers and contributors"] -version = "0.6.8" +version = "0.6.9" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/src/factorizations/svd.jl b/src/factorizations/svd.jl index 187795ea..c73b8e24 100644 --- a/src/factorizations/svd.jl +++ b/src/factorizations/svd.jl @@ -12,7 +12,7 @@ struct BlockPermutedDiagonalAlgorithm{A<:MatrixAlgebraKit.AbstractAlgorithm} <: alg::A end -function MatrixAlgebraKit.default_svd_algorithm(A; kwargs...) +function MatrixAlgebraKit.default_svd_algorithm(A::AbstractBlockSparseMatrix; kwargs...) blocktype(A) <: StridedMatrix{<:LinearAlgebra.BLAS.BlasFloat} || error("unsupported type: $(blocktype(A))") # TODO: this is a hardcoded for now to get around this function not being defined in the