[rules-users] Possibly Broken drools-core-5.4.0.Final.jar?

Darin Wilcox zoikks at gmail.com
Tue Jul 3 15:28:25 EDT 2012


Thanks for finding the cause Mario.  We'll be looking forward to the fix.

- Darin

On Tue, Jul 3, 2012 at 12:03 PM, Mario Fusco <mario.fusco at gmail.com> wrote:

> Hi Darin,
>
> I've been just able to reproduce the bug you reported and opened a JIRA
> ticket for it: https://issues.jboss.org/browse/JBRULES-3568
>
> In particular the problem is in the evaluation of the constraint:
> "value/predictedValue >= 0.7" where both value and predictedValue are
> fields
> of your class AbstractDoubleFinding with the particularity that while the
> first is a primitive double the second is of type Double.
>
> For sure this is a bug and I am going to fix it, but as temporary
> workaround
> I'd suggest you, if possible, to also declare predictedValue as a primitive
> double in order of being sure that you won't have null values on it ...
> even
> because I couldn't say if 0.0/null is less or greater than 0.7 ;)
>
> Thanks for reporting this,
> Mario
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-Possibly-Broken-drools-core-5-4-0-Final-jar-tp4018364p4018438.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120703/e7c8cad7/attachment.html 


More information about the rules-users mailing list