Thanks for finding the cause Mario.  We&#39;ll be looking forward to the fix.<div><br></div><div>- Darin</div><div><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 12:03 PM, Mario Fusco <span dir="ltr">&lt;<a href="mailto:mario.fusco@gmail.com" target="_blank">mario.fusco@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Darin,<br>
<br>
I&#39;ve been just able to reproduce the bug you reported and opened a JIRA<br>
ticket for it: <a href="https://issues.jboss.org/browse/JBRULES-3568" target="_blank">https://issues.jboss.org/browse/JBRULES-3568</a><br>
<br>
In particular the problem is in the evaluation of the constraint:<br>
&quot;value/predictedValue &gt;= 0.7&quot; where both value and predictedValue are fields<br>
of your class AbstractDoubleFinding with the particularity that while the<br>
first is a primitive double the second is of type Double.<br>
<br>
For sure this is a bug and I am going to fix it, but as temporary workaround<br>
I&#39;d suggest you, if possible, to also declare predictedValue as a primitive<br>
double in order of being sure that you won&#39;t have null values on it ... even<br>
because I couldn&#39;t say if 0.0/null is less or greater than 0.7 ;)<br>
<br>
Thanks for reporting this,<br>
Mario<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Possibly-Broken-drools-core-5-4-0-Final-jar-tp4018364p4018438.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Possibly-Broken-drools-core-5-4-0-Final-jar-tp4018364p4018438.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>