summaryrefslogtreecommitdiff
path: root/src/CHAD.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CHAD.hs')
-rw-r--r--src/CHAD.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CHAD.hs b/src/CHAD.hs
index 621aa3e..9fa7f9a 100644
--- a/src/CHAD.hs
+++ b/src/CHAD.hs
@@ -1341,7 +1341,7 @@ drevScoped des accumMap argty argsto argids sd expr = case argsto of
in
RetScoped e0 (subenvConcat (SEYesR @_ @_ @(D1 a) SETop) subtape) e1 sub (spDense (d2M argty)) $
let primalIdx = autoWeak library #p (#d :++: (#body :++: #p) :++: #tl) @> IZ in
- EWith ext (d2M argty) (EZero ext (d2M argty) (d2zeroInfo argty (EVar ext (d1 argty) primalIdx))) $
+ EWith ext (d2M argty) (EDeepZero ext (d2M argty) (d2deepZeroInfo argty (EVar ext (d1 argty) primalIdx))) $
weakenExpr (autoWeak library
(#d :++: #body :++: #ac :++: #tl)
(#ac :++: #d :++: (#body :++: #p) :++: #tl))