Skip to content

Commit

Permalink
correction in Base.isassigned with Tridiagonal boundscheck error (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 authored Jul 10, 2023
1 parent db6193c commit e2e34f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/tridiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ function diag(M::Tridiagonal{T}, n::Integer=0) where T
end

@inline function Base.isassigned(A::Tridiagonal, i::Int, j::Int)
@boundscheck checkbounds(A, i, j)
@boundscheck checkbounds(Bool, A, i, j) || return false
if i == j
return @inbounds isassigned(A.d, i)
elseif i == j + 1
Expand Down

2 comments on commit e2e34f6

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected.
A full report can be found here.

Please sign in to comment.