Skip to content

Commit c962dbc

Browse files
committed
patch for vector valued problems
- fixes issues when pivot is not full rank
1 parent 0c43f15 commit c962dbc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "HMatrices"
22
uuid = "8646bddf-ab1c-4fa7-9c51-ba187d647618"
3-
version = "0.2.11"
3+
version = "0.2.12"
44

55
[deps]
66
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"

src/compressor.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ function _aca_partial(K, irange, jrange, atol, rmax, rtol, istart, buffer_ = not
143143
break
144144
end
145145
else # δ != 0
146-
= inv(δ)
147-
# rdiv!(b,δ) # b <-- b/δ
146+
= T <: AbstractArray ? pinv(δ; rtol = 1e-8) : inv(δ)
147+
# b <-- b/δ
148148
for k in eachindex(b)
149149
b[k] = b[k] *
150150
end

0 commit comments

Comments
 (0)