opencog / atomspace

The OpenCog (hyper-)graph database and graph rewriting system
https://wiki.opencog.org/w/AtomSpace
Other
801 stars 225 forks source link

PMCB's _variables member missing variable? #92

Closed williampma closed 9 years ago

williampma commented 9 years ago

This new test: https://github.com/opencog/atomspace/blob/10369cfcf56095cddd43a30a77c53bae93f5bcfb/tests/query/MissingUTest.cxxtest

Output

/tests/query/MissingUTest.cxxtest:178: Error: Test failed: true variable mapping missing
/tests/query/MissingUTest.cxxtest:178: Error: Assertion failed: pmcb.true_vars.count(var_c) == 1

that is, (VariableNode "$C...") seems to be missing from the PMCB's _variables member.

williampma commented 9 years ago

Humm... I see that the Pattern Matcher breaks the variable list into pieces bases on connected components or something.

I guess I should store my own list.