JuliaLang / JuliaLang/LinearAlgebra.jl

A bug in rank() function in package LinearAlgebra

Open
#604 7 comments 0 reactions 0 assignees View on GitHub
feature minor change
Dominant language
Julia
Stars
77
Forks
65
Avg merge
3d 23h
Merged PRs (30d)
10

Description

``` julia
julia> using LinearAlgebra
julia> df=ones(200,2);
julia> rank(df)
1
julia> df=ones(500,2);
julia> rank(df)
2
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Environment:
JULIAPATH = /home/sunsh/software/julia-1.1.0/bin
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the rank() examples from the issue with Julia 1.1.0 and inspect the LinearAlgebra rank() entry point. Compare the results for ones(200, 2) and ones(500, 2); done means the inconsistent rank results are understood and corrected, with regression coverage for the reported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.