Skip to content

Conversation

huankimtran
Copy link

Around line 280

condensedPOS = simplify(distributePOS(POS)) if len(POS) > 1 else POS
has a bug.
Bug here, POS and the return of simplify do not have the same structure, but got returned to condensedPOS

@huankimtran
Copy link
Author

DEBUG=false => won't print debug message
DEBUG=true => print debug messages.

@huankimtran
Copy link
Author

Nice work btw!

@dantemazza
Copy link
Owner

what was your test case? I made major changes today btw so there are a bunch of conflicts. before changes are made, I need to make sure its clear the purpose of POS is to cover the remaining, non-essential prime implicants, using Petrick's Method. It is possible for POS to be empty, assuming all prime implicants are essential (as in test_case3.txt)

@dantemazza
Copy link
Owner

Nevertheless, thank you for your contribution!

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