diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2025-11-05 22:29:41 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2025-11-05 22:29:41 +0100 |
| commit | e82b1eed9f9d749afb1e47f0bc8f35e806fda9f6 (patch) | |
| tree | 921616cc5e0b4fa89f73bf1034f670df4a8b1b00 /test/Main.hs | |
| parent | f8113d7e319a2773c8a8f0313efdba26cb038553 (diff) | |
Some extra Map optimisations
Diffstat (limited to 'test/Main.hs')
| -rw-r--r-- | test/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Main.hs b/test/Main.hs index d586973..c2141ee 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -351,7 +351,7 @@ adTestGenChad testname config env envGenerator expr exprS primalSfun | Dict <- e dtermSChad0 = ELet ext (EConst ext STF64 1.0) $ chad' config env exprS dtermSChadS = simplifyFix dtermSChad0 dtermSChadSUS = simplifyFix $ unMonoid dtermSChadS - dtermSChadSUSP = pruneExpr env dtermSChadSUS + dtermSChadSUSP = simplifyFix $ pruneExpr env dtermSChadSUS in withResource' (do (fun, output) <- makeFwdADArtifactCompile env exprS when (not (null output)) $ |
