From d4597dbf6bb7572b83e9bcbb4bb76ea255d97f4d Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Mon, 21 Aug 2023 00:51:46 +0200 Subject: [PATCH] Fix showing of pretty tables on x86 (#16) * Increment patch number * Replace Int64 with Int --- Project.toml | 2 +- src/utils.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 4c442dd..f0b2bd1 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PosteriorStats" uuid = "7f36be82-ad55-44ba-a5c0-b8b5480d7aa5" authors = ["Seth Axen and contributors"] -version = "0.1.2" +version = "0.1.3" [deps] Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" diff --git a/src/utils.jl b/src/utils.jl index f78f059..16fdc9c 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -331,7 +331,7 @@ function _show_prettytable( newline_at_end=false, kwargs..., ) - alignment_anchor_regex = Dict{Int64,Vector{Regex}}( + alignment_anchor_regex = Dict{Int,Vector{Regex}}( i => [r"\.", r"e", r"^NaN$", r"Inf$"] for (i, (k, v)) in enumerate(pairs(data)) if (eltype(v) <: Real && !(eltype(v) <: Integer) && !_is_ess_label(k)) )