Skip to content

Commit d373143

Browse files
committed
Fix accidental method overwrite of default_svd_algorithm
1 parent 6bee699 commit d373143

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BlockSparseArrays"
22
uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.6.8"
4+
version = "0.6.9"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/factorizations/svd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct BlockPermutedDiagonalAlgorithm{A<:MatrixAlgebraKit.AbstractAlgorithm} <:
1212
alg::A
1313
end
1414

15-
function MatrixAlgebraKit.default_svd_algorithm(A; kwargs...)
15+
function MatrixAlgebraKit.default_svd_algorithm(A::AbstractBlockSparseMatrix; kwargs...)
1616
blocktype(A) <: StridedMatrix{<:LinearAlgebra.BLAS.BlasFloat} ||
1717
error("unsupported type: $(blocktype(A))")
1818
# TODO: this is a hardcoded for now to get around this function not being defined in the

0 commit comments

Comments
 (0)