Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the counter-intuitive behavior of freezeD #21

Merged
merged 2 commits into from
Aug 2, 2016

Conversation

maoe
Copy link
Member

@maoe maoe commented Jul 19, 2016

The new test case for freezeD, which I think is the most intuitive behavior, fails with the current implementation. This PR fixes the behavior to match the test case.

@fumieval
Copy link
Contributor

+1

Mitsutoshi Aoe added 2 commits August 1, 2016 16:18
Current freezeD implementation is confusing because it freezes
the Discrete before the Event gets triggered meaning that this
test case returns [1, 2, 2, 2, 2].
@maoe
Copy link
Member Author

maoe commented Aug 1, 2016

Rebased off of current master.

@maoe maoe merged commit 1b9f210 into tsurucapital:master Aug 2, 2016
@maoe maoe deleted the freezeD branch August 2, 2016 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants