mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: Problems installing Mahout
Date Mon, 05 Apr 2010 21:14:32 GMT
Ah yeah that's it. The decimal and thousands separator are switched,
generally, in Spanish-speaking countries.

We should not be relying on any locale-specific number parsing or
formatting, and it's hard to see sometimes where that creeps in.

And/or, the test ought not be based on the string representation if
possible, but maybe that's not feasible here.

On Mon, Apr 5, 2010 at 10:01 PM, Christoph Hermann
<christoph.hermann@guschtel.de> wrote:
> Am Montag, 5. April 2010 22:50:11 schrieb Robin Anil:
>
>> try increasing MAVEN heap size
>> export MAVEN_OPTS=-Xmx1024m
>
>> > junit.framework.ComparisonFailure: format
>> > expected:<nm{n=0 m=[1[.100, 2.200,3.300] sd=0.]75}>
>> > but was:<nm{n=0 m=[1[,100, 2,200, 3,300] sd=0,]75}>
>
> this looks more like a locale setting error to me.
> what is your locale set to?
>
> regards
> Christoph
>

Mime
View raw message