From 4dbca9f3a41ab78f66b487e3d87c995fe10c8a6b Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Sun, 15 Dec 2024 00:47:55 -0500 Subject: [PATCH] fix --- src/sugar.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar.jl b/src/sugar.jl index f30775883c..574ffa8cbf 100644 --- a/src/sugar.jl +++ b/src/sugar.jl @@ -899,7 +899,7 @@ this function will retun an AbstractArray of shape `size(output)` of values of t Core.Typeof(f) end - rt = Compiler.primal_return_type(mode, FRT, tt) + rt = Compiler.primal_return_type(Reverse, FRT, tt) ModifiedBetweenT = (false, false) FA = Const{FRT}