diprism / fggs

Factor Graph Grammars in Python
MIT License
13 stars 3 forks source link

sum_product errors on rule with empty RHS #56

Closed davidweichiang closed 3 years ago

davidweichiang commented 3 years ago

In commit dea0e31 I added a new test JSON file. Though it wasn't my original purpose for creating this test, one of the rules has an empty RHS and this causes an exception which should be fixed.