Skip to content

Commit af8846d

Browse files
attempt to fix ambiguity for julia 1.11
1 parent e630054 commit af8846d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/memory_dataset.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Base.getindex(RA::ResizableArray,inds...) = getindex(RA.A,inds...)
1414
@inline checkbounds(::Type{Bool}, itp::ResizableArray, inds::LogicalIndex{<:Any,<:AbstractVector{Bool}}) =
1515
_checkbounds(RA,inds...)
1616

17+
# ambiguity julia 1.11
18+
@inline checkbounds(::Type{Bool}, itp::ResizableArray, inds::AbstractVector{Bool}) =
19+
_checkbounds(RA,inds...)
20+
21+
1722
function grow!(RA::ResizableArray{T,N},new_size) where {T,N}
1823
# grow
1924
oldA = RA.A

0 commit comments

Comments
 (0)