[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Norm problem in Octave 3.4.0 (Mac?) (Moo)

From: pantxo diribarne
Subject: Re: Norm problem in Octave 3.4.0 (Mac?) (Moo)
Date: Fri, 1 Apr 2011 12:58:58 +0200


I have also built an a 32bit version on Mac OX X 10.5.8 with self-compiled dependencies and it used to exhibit the same norm problem. This speed problem is solved by setting optimization flags to "-O3" or "-O2" : running Vic's test gives similar results on my version  and ThomasTreichl's (3.2.3)

norm2 speed test - octave 3.4.0
                          ellapsed times
                          mean      stdv
norm(x)               8.76e-03  2.07e-04
sqrt(sum(x .* x))     1.52e-02  1.04e-03

norm2 speed test - octave 3.2.3
                          ellapsed times
                          mean      stdv
norm(x)               8.93e-03  3.20e-04
sqrt(sum(x .* x))     1.65e-02  2.31e-03

Now the problem is that I obtain an error while launching make check: "invalid assignment to cs-list outside multiple assignment".
This problem was reported and discussed previously for 3.3.90 version ( but no solution was found.
I also noticed that a with optimization flags set to "-O2" or "-O3" I obtain a warning at compilation time (liboctave) that doesn't appear if compiled without optimization flag :
Array.h:183: warning: ‘__base_ctor ’ is deprecated (declared at Array.h:179)

I don't know wether it is related but I wanted to give all elements I had.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]