Skip to content

Commit

Permalink
Fixed bug in observers executing 1 tick too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Pike committed Nov 9, 2011
1 parent 5efd202 commit e2bffae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Copilot/Core/Interpret/Eval.hs
Expand Up @@ -306,5 +306,5 @@ evalObserver showType k exts strms

evalExprs_ :: Int -> Expr a -> ExtEnv -> Env Id -> [a]
evalExprs_ k e exts strms =
map (\i -> evalExpr_ i e exts [] strms) [0..k]
map (\i -> evalExpr_ i e exts [] strms) [0..(k-1)]

0 comments on commit e2bffae

Please sign in to comment.