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 memory-one error in compute FSM memory. #1242

Closed
wants to merge 46 commits into from

Conversation

gaffney2010
Copy link
Member

In using, I uncovered a bug. Basically memory-zero and memory-one cases need to be handled specially. I was checking this case with a condition on the number of memit-pairs, but in fact a memory-one strategy could have a long chain memit-pairs that all suggest the same set of reactions.

So I fixed this, and added a test that would have caught this error.

gaffney2010 and others added 30 commits December 30, 2018 20:41
Copy link
Member

@drvinceknight drvinceknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Any chance you could rebase on to master?

Copy link
Member

@drvinceknight drvinceknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ticked the wrong box: didn't mean to request changes. 👍

@gaffney2010
Copy link
Member Author

Any chance you could rebase on to master?

I'm trying. Afraid I'm only making it worse.

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.

None yet

2 participants