From 80c34275dfc4943462164260535c784809981417 Mon Sep 17 00:00:00 2001 From: Tor Erlend Fjelde Date: Mon, 3 Jun 2024 14:43:50 +0100 Subject: [PATCH] import `stack` from Compat.jl --- src/Bijectors.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Bijectors.jl b/src/Bijectors.jl index 0ef63a2d..50a8f07e 100644 --- a/src/Bijectors.jl +++ b/src/Bijectors.jl @@ -82,6 +82,10 @@ if VERSION < v"1.1" using Compat: eachcol end +if VERSION < v"1.9" + using Compat: stack +end + const DEBUG = Bool(parse(Int, get(ENV, "DEBUG_BIJECTORS", "0"))) _debug(str) = @debug str