https://github.com/FluxML/Tracker.jl/commit/f6550ba38a9ea5802e2de4fa9c939929ba711f0d.patch from an upstream pull request https://github.com/FluxML/Tracker.jl/pull/94 From f6550ba38a9ea5802e2de4fa9c939929ba711f0d Mon Sep 17 00:00:00 2001 From: Michael Abbott Date: Wed, 3 Feb 2021 22:58:33 +0100 Subject: [PATCH] two fixes for 1.6 --- src/lib/array.jl | 2 +- src/lib/real.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/array.jl b/src/lib/array.jl index 92f2b39..f8cbbac 100644 --- a/src/lib/array.jl +++ b/src/lib/array.jl @@ -298,7 +298,7 @@ Base.reverse(xs::TrackedArray; dims) = track(reverse, xs, dims = dims) @grad reverse(xs; dims) = reverse(data(xs), dims = dims), Δ -> (reverse(Δ, dims = dims), nothing) Base.reverse(xs::TrackedVector) = track(reverse, xs) @grad reverse(xs::TrackedVector) = reverse(data(xs)), Δ -> (reverse(Δ),) -Base.reverse(xs::TrackedVector, start, stop) = track(reverse, xs, start, stop) +Base.reverse(xs::TrackedVector, start::Integer, stop::Integer) = track(reverse, xs, start, stop) @grad reverse(xs, start, stop) = reverse(data(xs), start, stop), Δ -> (reverse(Δ, start, stop), nothing, nothing) function _kron(mat1::AbstractMatrix,mat2::AbstractMatrix) diff --git a/src/lib/real.jl b/src/lib/real.jl index 737afd8..e1975ac 100644 --- a/src/lib/real.jl +++ b/src/lib/real.jl @@ -55,6 +55,7 @@ for f in :[isinf, isnan, isfinite].args end Printf.fix_dec(x::TrackedReal, n::Int, a...) = Printf.fix_dec(data(x), n, a...) +Printf.tofloat(x::TrackedReal) = Printf.tofloat(data(x)) Base.float(x::TrackedReal) = x scm'>
path: root/gnu/packages/dezyne.scm
AgeCommit message (Expand)Author
2023-09-08gnu: dezyne: Update to 2.17.6....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.6. Janneke Nieuwenhuizen
2023-08-11gnu: dezyne: Update to 2.17.5....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.5. Janneke Nieuwenhuizen
2023-06-26gnu: dezyne: Update to 2.17.3....* gnu/packages/patches/dezyne-add-missing-shebangs.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/dezyne.scm (dezyne): Update to 2.17.3. [source]: Remove patch, update hash. Janneke Nieuwenhuizen
2023-04-24gnu: dezyne: Add patch to avoid "Exec format error"....This fixes In execvp of ./test/all/parse_import_order/run: Exec format error on shell scripts that lack a shebang. * gnu/packages/patches/dezyne-add-missing-shebangs.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dezyne.scm (dezyne): Use it. Janneke Nieuwenhuizen
2023-04-24gnu: dezyne: Update to 2.17.2....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.2. Janneke Nieuwenhuizen
2023-01-27gnu: dezyne: Update to 2.17.1....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.1. Jan (janneke) Nieuwenhuizen
2023-01-23gnu: dezyne: Update to 2.17.0....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.0. Jan (janneke) Nieuwenhuizen
2023-01-13gnu: dezyne: Update to 2.16.3....* gnu/packages/dezyne.scm (dezyne): Update to 2.16.3. Jan (janneke) Nieuwenhuizen
2022-10-17gnu: dezyne: Update to 2.16.2....* gnu/packages/dezyne.scm (dezyne): Update to 2.16.2. Jan (janneke) Nieuwenhuizen
2022-09-13gnu: dezyne: Update to 2.16.1....* gnu/packages/dezyne.scm (dezyne): Update to 2.16.1. Jan (janneke) Nieuwenhuizen
2022-08-18gnu: dezyne: Update to 2.16.0....* gnu/packages/dezyne.scm (dezyne): Update to 2.16.0. Jan (janneke) Nieuwenhuizen