Skip to content

Commit c26991b

Browse files
committed
Format
1 parent bf2173e commit c26991b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
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.5.2"
4+
version = "0.5.3"
55

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

src/factorizations/qr.jl

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,17 @@ function MatrixAlgebraKit.check_input(
115115
::typeof(qr_compact!), A::AbstractBlockSparseMatrix, QR
116116
)
117117
Q, R = QR
118-
@assert isa(Q, AbstractBlockSparseMatrix) &&
119-
isa(R, AbstractBlockSparseMatrix)
118+
@assert isa(Q, AbstractBlockSparseMatrix) && isa(R, AbstractBlockSparseMatrix)
120119
@assert eltype(A) == eltype(Q) == eltype(R)
121120
@assert axes(A, 1) == axes(Q, 1) && axes(A, 2) == axes(R, 2)
122121
@assert axes(Q, 2) == axes(R, 1)
123122

124123
return nothing
125124
end
126125

127-
function MatrixAlgebraKit.check_input(
128-
::typeof(qr_full!), A::AbstractBlockSparseMatrix, QR
129-
)
126+
function MatrixAlgebraKit.check_input(::typeof(qr_full!), A::AbstractBlockSparseMatrix, QR)
130127
Q, R = QR
131-
@assert isa(Q, AbstractBlockSparseMatrix) &&
132-
isa(R, AbstractBlockSparseMatrix)
128+
@assert isa(Q, AbstractBlockSparseMatrix) && isa(R, AbstractBlockSparseMatrix)
133129
@assert eltype(A) == eltype(Q) == eltype(R)
134130
@assert axes(A, 1) == axes(Q, 1) && axes(A, 2) == axes(R, 2)
135131
@assert axes(Q, 2) == axes(R, 1)

0 commit comments

Comments
 (0)