summaryrefslogtreecommitdiff
path: root/src/AST/Count.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-10-22 23:46:39 +0200
committerTom Smeding <tom@tomsmeding.com>2024-10-22 23:47:53 +0200
commit3847c6ae2d5eb581dac88629e7534aa42e143411 (patch)
tree63036604613f8ac17efd8978004c579a0a5bb39b /src/AST/Count.hs
parentd6d07f3bf20b4a3c0e51b4414fb0e4538176d294 (diff)
Fix interpreter bug
Diffstat (limited to 'src/AST/Count.hs')
-rw-r--r--src/AST/Count.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AST/Count.hs b/src/AST/Count.hs
index dbec446..31720a5 100644
--- a/src/AST/Count.hs
+++ b/src/AST/Count.hs
@@ -123,7 +123,7 @@ occCountGeneral onehot unpush alter many = go WId
EConst{} -> mempty
EIdx0 _ e -> re e
EIdx1 _ a b -> re a <> re b
- EIdx _ _ a b -> re a <> re b
+ EIdx _ a b -> re a <> re b
EShape _ e -> re e
EOp _ _ e -> re e
EWith a b -> re a <> re1 b