commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: svn commit: r1536073 - in /commons/proper/math/trunk/src: changes/changes.xml main/java/org/apache/commons/math3/analysis/differentiation/SparseGradient.java test/java/org/apache/commons/math3/analysis/differentiation/SparseGradientTest.java
Date Sun, 27 Oct 2013 14:44:27 GMT
On Sun, Oct 27, 2013 at 10:41 AM, Luc Maisonobe <luc@spaceroots.org> wrote:
>>> +        return 743 + 809 *  + 233 * MathUtils.hash(value) + 167 *
>>                           ^^^^^^
>> Typo?
>
> Yes. I don't even understand why this code does not raise a compilation
> error ...
>
> Thanks for spotting this. Everything is fixed in the subversion
> repository now.

The "+" becomes a unary plus operator. It's read as "809 * (+233) *
MathUtils.hash..."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message