From bda6cec5427093c7ef9a2a9112ee623aebd07a5a Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 26 Oct 2024 21:27:58 +0200 Subject: Make interpreter debug printing conditional --- test/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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') -- cgit v1.2.3-70-g09d2