want to make a .patch file someone can apply? <br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 9:43 PM, jschmied <span dir="ltr">&lt;<a href="mailto:nabble@juergenschmied.de">nabble@juergenschmied.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi!<br>
<br>
I found a bug in the rule 6,7 and 8 in the sudoku example:<br>
<br>
It should not only test against the PCV but against the RCV too:<br>
<br>
Rule 6:<br>
# the not operator only causes this when clause to resolve to true when<br>
there are not<br>
# any other PCVs or RCVswith the same row and value as $possible<br>
not (PossibleCellValue( row == $row, value == $value ) || ResolvedCellValue(<br>
row == $row, value == $value) )<br>
<br>
7 and 8 are similar.<br>
<br>
<br>
juergen<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Bug-in-Sudoku-Example-with-fix-tp196315p196315.html" target="_blank">http://n3.nabble.com/Bug-in-Sudoku-Example-with-fix-tp196315p196315.html</a><br>
Sent from the Drools - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com</a><br>