summaryrefslogtreecommitdiff
path: root/src/AST/Count.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/AST/Count.hs')
-rw-r--r--src/AST/Count.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AST/Count.hs b/src/AST/Count.hs
index a928743..f3e3d74 100644
--- a/src/AST/Count.hs
+++ b/src/AST/Count.hs
@@ -130,6 +130,7 @@ occCountGeneral onehot unpush alter many = go WId
EAccum _ a b e -> re a <> re b <> re e
EZero _ -> mempty
EPlus _ a b -> re a <> re b
+ EOneHot _ _ a b -> re a <> re b
EError{} -> mempty
where
re :: Monoid (r env') => Expr x env' t'' -> r env'