domluna / JuliaFormatter.jl

An opinionated code formatter for Julia. Plot twist - the opinion is your own.

Home Page:https://domluna.github.io/JuliaFormatter.jl/dev/

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]

I confirm that this is fixed in the latest release, thanks! (The message in #716 did not auto-close this issue.)