commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Maisonobe <>
Subject Re: [math] releasing 3.2?
Date Sun, 10 Mar 2013 16:35:33 GMT
Le 10/03/2013 15:28, Thomas Neidhart a écrit :
> On 03/04/2013 01:24 PM, Luc Maisonobe wrote:
>> Hi all,
>> I would like to release version 3.2 of [math] soon.
>> Any thoughts about it?
> There are 3 Clirr errors:
> Error   Return type of method 'public int log10()' has been changed to
> org.apache.commons.math3.dfp.Dfp

I know about this one, it was introduced with r1449529. I have explained
it here: <>.

I would in fact consider this change is merely fixing a bug: the log10
function returned an int when all other mathematical functions properly
returned a Dfp. The change was two-fold: the log10 method returning an
int was renamed intLog10, and a proper log10 method was added.

I really don't think anybody will be affected by this change, as the
class itself is probably very seldom used, and most importantly because
despite this weird return type, nobody noticed it and complained about it.

So I would consider this incompatible change should be accepted, even in
a minor release.

> Error	Method 'protected org.apache.commons.math3.FieldElement[][]
> buildArray(org.apache.commons.math3.Field, int, int)' has been removed	
> Error	Method 'protected org.apache.commons.math3.FieldElement[]
> buildArray(org.apache.commons.math3.Field, int)' has been removed
> org.apache.commons.math3.linear.AbstractFieldMatrix

I missed these ones. The methods have been moved to MathArrays. I'll fix
this by putting them back (deprecated) in AbstractFieldMatrix and set
them up in order to call the methods from MathArrays.

best regards,

> Thomas
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message