-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
compiler:codegenGeneration of LLVM IR and native codeGeneration of LLVM IR and native coderegressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Milestone
Description
The test at
Line 614 in aad7245
@test all(x -> isequal(x[1], x[2:3]), zip(vext,vmin,vmax)) |
Line 621 in aad7245
@testset "NaN/missing test for extrema with dims #43599" begin |
E.g.
julia> a = Union{Missing, Int}[missing -3.0 3.0; -1.0 missing 0.0; missing 2.0 -3.0]
3×3 Matrix{Union{Missing, Int64}}:
missing -3 3
-1 missing 0
missing 2 -3
julia> dims = (1, 2)
(1, 2)
julia> vext = extrema(a; dims)
1×1 Matrix{Tuple{Union{Missing, Int64}, Union{Missing, Int64}}}:
(missing, missing)
julia> vmin, vmax = minimum(a; dims), maximum(a; dims)
(Union{Missing, Int64}[-3;;], Union{Missing, Int64}[3;;])
julia> all(x -> isequal(x[1], x[2:3]), zip(vext,vmin,vmax))
false
julia> versioninfo()
Julia Version 1.12.0-DEV.379
Commit aad7245853 (2024-04-20 23:40 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × AMD Ryzen 7 5700U with Radeon Graphics
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
I don't see this on 1.10.2
but I do on 1.11.0-alpha1
, 1.11.0-beta1
and master.
Metadata
Metadata
Labels
compiler:codegenGeneration of LLVM IR and native codeGeneration of LLVM IR and native coderegressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version