[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: senseless warning in octave-3.6.2
From: |
Sergei Steshenko |
Subject: |
Re: senseless warning in octave-3.6.2 |
Date: |
Sun, 1 Jul 2012 12:59:00 -0700 (PDT) |
----- Original Message -----
> From: Francesco Potortì <address@hidden>
> To: Sergei Steshenko <address@hidden>
> Cc: Octave users list <address@hidden>; c. <address@hidden>
> Sent: Sunday, July 1, 2012 8:42 PM
> Subject: Re: senseless warning in octave-3.6.2
>
>> In this case when I fixed the actual bug the warning disappeared.
>>
>> The bug was that I needed FOO' instead of just FOO.
>
> Hm. After upgrading to 3.6 I was so happy of having broadcasting and I
> immediately started using it. Then I put
>
> warning ("off", "Octave:broadcast");
>
> in my ~/.octaverc. Now that I read about Sergei's experience I am
> wondering if unconditionally turning the warning off is a good idea
> after all. What do peple usually do?
>
> --
> Francesco Potortì (ricercatore) Voice: +39.050.315.3058 (op.2111)
> ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
> via G. Moruzzi 1, I-56124 Pisa Fax: +39.050.315.2040
> (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it
>
Here is a small test case:
"
octave:1> foo = zeros(1, 1e6);
octave:2> bar = ones(1e6, 1);
octave:3> doo = foo + bar;
warning: operator +: automatic broadcasting operation applied
error: memory exhausted or requested size too large for range of Octave's index
type -- trying to return to prompt
octave:3> doo = foo' + bar;
octave:4>
"
which illustrates the problem
Is it a bug or a feature ?
Thanks,
Sergei.
- senseless warning in octave-3.6.2, Sergei Steshenko, 2012/07/01
- Re: senseless warning in octave-3.6.2, c., 2012/07/01
- Re: senseless warning in octave-3.6.2, Sergei Steshenko, 2012/07/01
- Re: senseless warning in octave-3.6.2, Francesco Potortì, 2012/07/01
- Re: senseless warning in octave-3.6.2,
Sergei Steshenko <=
- Re: senseless warning in octave-3.6.2, Francesco Potortì, 2012/07/01
- Re: senseless warning in octave-3.6.2, Sergei Steshenko, 2012/07/01
- Re: senseless warning in octave-3.6.2, Sergei Steshenko, 2012/07/01
- Re: senseless warning in octave-3.6.2, Francesco Potortì, 2012/07/01
- Re: senseless warning in octave-3.6.2, Mero, 2012/07/02
- Re: senseless warning in octave-3.6.2, Jordi Gutiérrez Hermoso, 2012/07/02
- Re: senseless warning in octave-3.6.2, Mero, 2012/07/02
- Re: senseless warning in octave-3.6.2, c., 2012/07/01
- Re: senseless warning in octave-3.6.2, Sergei Steshenko, 2012/07/01
- Re: senseless warning in octave-3.6.2, Jordi Gutiérrez Hermoso, 2012/07/01