Closed GoogleCodeExporter closed 9 years ago
regression tests are a Good Thing (tm). Of course the above patch is bad.
Attached is one that works properly
Original comment by wwai...@gmail.com
on 28 Jul 2010 at 1:36
Attachments:
See:
http://code.google.com/p/fuxi/source/detail?r=781be253fe4b15304b8679b84993794322
47a148
Original comment by chime...@gmail.com
on 1 Aug 2010 at 6:07
Minor nit, the buggy line is still there above the fixed one:
--- a/lib/Rete/Network.py Sun Aug 01 02:04:00 2010 -0400
+++ b/lib/Rete/Network.py Sun Aug 01 12:24:07 2010 +0100
@@ -442,7 +442,6 @@
node.memories[RIGHT_MEMORY].reset()
self.justifications = {}
self.proofTracers = {}
- self.inferredFacts = newinferredFacts and newinferredFacts or Graph()
self.inferredFacts = newinferredFacts if newinferredFacts is not None else Graph()
self.workingMemory = set()
self._resetinstanciationStats()
Original comment by wwai...@gmail.com
on 1 Aug 2010 at 11:26
Original issue reported on code.google.com by
wwai...@gmail.com
on 22 Jul 2010 at 4:41