mcabbott / mcabbott/InTheRed.jl

Spacing issue with Matrix{BigFloat}

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

julia> A = randn(4,4)
4×4 Matrix{Float64}:
 -2.10144    -0.513578   0.366988  -2.16431
 -0.0955711   1.21993    0.299405   0.645019
 -1.03881    -1.48383    0.275414  -0.114858
 -0.366618    1.24093   -0.185456  -0.45581

julia> big.(A)
4×4 Matrix{BigFloat}:
 -2.10144    -0.513578       0.366988      -2.16431
 -0.0955711       1.21993            0.299405           0.645019
 -1.03881    -1.48383        0.275414      -0.114858
 -0.366618        1.24093       -0.185456  -0.45581

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the examples in a Julia REPL and compare the displayed spacing for Matrix{Float64} and Matrix{BigFloat}. Trace the array-display formatting entry point responsible for these outputs. Done means the Matrix{BigFloat} columns are spaced consistently with the other matrix output.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.