[rules-dev] Bug in Sudoku Example - with fix

Michael Neale michael.neale at gmail.com
Tue Feb 9 17:38:31 EST 2010


want to make a .patch file someone can apply?

On Tue, Feb 9, 2010 at 9:43 PM, jschmied <nabble at juergenschmied.de> wrote:

>
> Hi!
>
> I found a bug in the rule 6,7 and 8 in the sudoku example:
>
> It should not only test against the PCV but against the RCV too:
>
> Rule 6:
> # the not operator only causes this when clause to resolve to true when
> there are not
> # any other PCVs or RCVswith the same row and value as $possible
> not (PossibleCellValue( row == $row, value == $value ) ||
> ResolvedCellValue(
> row == $row, value == $value) )
>
> 7 and 8 are similar.
>
>
> juergen
> --
> View this message in context:
> http://n3.nabble.com/Bug-in-Sudoku-Example-with-fix-tp196315p196315.html
> Sent from the Drools - Dev mailing list archive at Nabble.com.
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20100210/c3d01be3/attachment.html 


More information about the rules-dev mailing list