julia-vscode / StaticLint.jl

Static Code Analysis for Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

align_matrix yields invalid matrix in combination with missing float "0"

schillic opened this issue · comments

If the option align_matrix = true is used, the following happens.

Before formatting

A = [1. 1; 1 -1]

After formatting

A = [1.01; 1 -1]

Expected result

A = [1.0 1; 1 -1]

Sorry, I think this is the wrong place to report this. I went to domluna/JuliaFormatter.jl#713.