From a234467c1c113d6d30e09f7349928ff4b3d440fa Mon Sep 17 00:00:00 2001 From: Michel Schanen Date: Thu, 2 May 2024 14:25:47 -0500 Subject: [PATCH] fix --- src/Rules/EnzymeRules.jl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Rules/EnzymeRules.jl b/src/Rules/EnzymeRules.jl index 4df09f0..97cebfc 100644 --- a/src/Rules/EnzymeRules.jl +++ b/src/Rules/EnzymeRules.jl @@ -52,11 +52,7 @@ function augmented_primal( ) primal = func.val(body.val, alg.val, deepcopy(model.val), condition.val) if needs_primal(config) - return AugmentedReturn( - primal, - nothing, - (model.val,), - ) + return AugmentedReturn(primal, nothing, (model.val,)) else return AugmentedReturn(nothing, nothing, (model.val,)) end