summaryrefslogtreecommitdiff
path: root/test/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Main.hs')
-rw-r--r--test/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Main.hs b/test/Main.hs
index ab01e89..c746807 100644
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -70,7 +70,7 @@ gradientByCHAD = \simplIters env term input ->
(Refl, Refl) ->
let dterm = diffCHAD simplIters env term
input1 = toPrimalE env input
- (_out, grad) = interpretOpen input1 dterm
+ (_out, grad) = interpretOpen False input1 dterm
in (ppExpr (primalEnv env) dterm, unTup vUnpair (d2e env) (Value grad))
where
toPrimalE :: SList STy env' -> SList Value env' -> SList Value (D1E env')