We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df82715 commit e00e0feCopy full SHA for e00e0fe
.travis.yml
@@ -3,7 +3,7 @@ os:
3
- linux
4
julia:
5
- 1.0
6
- - 1.2
+ - 1.3
7
- 1
8
- nightly
9
src/functions.jl
@@ -272,12 +272,14 @@ end
272
273
Rlist = [:KeyedMatrix, :KeyedVector,
274
:(NdaKa{L,T,2} where {L,T}), :(NdaKa{L,T,1} where {L,T}),
275
- :(KeyedVector{T} where {T<:Number}), :(NdaKa{L,T,1} where {L,T<:Number}), # ambiguities on 1.5?
+ :(KeyedVector{T} where {T<:Number}), :(NdaKa{L,T,1} where {L,T<:Number}), # ambiguities on 1.5
276
]
277
+
278
Olist = [ :AbstractMatrix, :AbstractVector, :Number,
279
:(Adjoint{<:Any,<:AbstractMatrix}), :(Adjoint{<:Any,<:AbstractVector}),
280
:(Transpose{<:Any,<:AbstractMatrix}), :(Transpose{<:Any,<:AbstractVector}),
281
:(NamedDimsArray{L,T,1} where {L,T}), :(NamedDimsArray{L,T,2} where {L,T}),
282
+ :(Adjoint{<:Number,<:AbstractVector}), # 1.5 problem...
283
284
for (Ts, Ss) in [(Rlist, Rlist), (Rlist, Olist), (Olist, Rlist)]
285
for T in Ts, S in Ss # some combinations are errors, later, that's ok
test/_functions.jl
@@ -177,12 +177,7 @@ end
177
@test (V' * V) isa Int
178
@test (V' * VN) isa Int
179
@test (V' * rand(Int, 10)) isa Int
180
- if VERSION < v"1.5-"
181
- @test (rand(Int, 10)' * V) isa Int
182
- else
183
- # https://github.com/mcabbott/AxisKeys.jl/issues/17
184
- @test_broken (rand(Int, 10)' * V) isa Int
185
- end
+ @test (rand(Int, 10)' * V) isa Int
186
@test axiskeys(V * V') === (10:10:100, 10:10:100)
187
@test dimnames(V * V') === (:v, :v)
188
@test axiskeys(V * VN') === (10:10:100, 10:10:100)
test/runtests.jl
@@ -9,13 +9,13 @@ using Statistics, OffsetArrays, Tables, UniqueVectors, LazyStack
AxisKeys.nameouter() = false
10
end
11
12
- include("_basic.jl")
+ # include("_basic.jl")
13
14
include("_functions.jl")
15
16
- include("_fast.jl")
+ # include("_fast.jl")
17
18
- include("_packages.jl")
+ # include("_packages.jl")
19
20
21
@testset "fast findfirst & findall" begin
@@ -26,6 +26,7 @@ end
26
@testset "ambiguities" begin
27
28
@test isempty(detect_unbound_args(AxisKeys))
29
- @test_broken isempty(detect_ambiguities(AxisKeys, Base))
+ alist = detect_ambiguities(AxisKeys, Base)
30
+ @test_broken isempty(alist)
31
32
0 commit comments