Skip to content

Commit 904d8ec

Browse files
authored
fix deprecations (#113)
1 parent dfe7e3a commit 904d8ec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.5.11"
3+
version = "0.5.12"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

src/Caching/blockbanded.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ function resizedata!(QR::QROperator{CachedOperator{T,BlockBandedMatrix{T},
223223

224224
# last block, convoluted def to match blockbandedmatrix
225225
J_col = Int(COL)
226-
K_end = Int(blockcolstop(MO, J_col)) # last row block in last column
227-
J_end = Int(blockrowstop(MO, K_end)) # QR will affect up to this column
228-
j_end = blockstop(domainspace(MO), J_end) # we need to resize up this column
226+
K_end = Int(blockcolstop(MO, Block(J_col))) # last row block in last column
227+
J_end = Int(blockrowstop(MO, Block(K_end))) # QR will affect up to this column
228+
j_end = blockstop(domainspace(MO), Block(J_end)) # we need to resize up this column
229229
sz = sizeof(T)
230230

231231
if j_end MO.datasize[2]
@@ -262,7 +262,7 @@ function resizedata!(QR::QROperator{CachedOperator{T,BlockBandedMatrix{T},
262262
shft = bs.block_starts[K1,J1]-1 + st*-1) + κ-1 # the index of the pointer to the j, j entry
263263

264264

265-
K_CS = Int(blockcolstop(R,J1)) # last row in J-th blockcolumn
265+
K_CS = Int(blockcolstop(R, Block(J1))) # last row in J-th blockcolumn
266266
k_end = last(bs.axes[1][Block(K_CS)])
267267

268268
w_j = W.cols[j] # the data index for the j-th column of W

src/Operators/nullspace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
function nullspace(A::Operator{T};tolerance=10eps(real(T)),maxlength=1_000_000) where T
44
K=transpose_nullspace(qr(A'),tolerance,maxlength)
55
# drop extra rows, and use QR to determine rank
6-
Q,R = qr(K,Val(true))
6+
Q,R = qr(K, ColumnNorm())
77
ind=findfirst(r->abs(r)100tolerance,diag(R))
88
Kret=ind==0 ? Q : Q[:,1:ind-1]
99
Fun(Space(fill(domainspace(A),(1,ind-1))),vec(Kret'))

0 commit comments

Comments
 (0)