help-octave
[Top][All Lists]
Advanced

[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 09:09:25 -0700 (PDT)




----- Original Message -----
> From: c. <address@hidden>
> To: Sergei Steshenko <address@hidden>
> Cc: Octave users list <address@hidden>
> Sent: Sunday, July 1, 2012 6:20 PM
> Subject: Re: senseless warning in octave-3.6.2
> 
> 
> On 1 Jul 2012, at 16:13, Sergei Steshenko wrote:
> 
>>  Hello,
>> 
>>  debugging my code I've encountered the following warning:
>>  "
>> 
>>  warning: product: automatic broadcasting operation applied
>>  ".
>> 
>>  I consider the warning to be senseless because:
>> 
>>  1) it doesn't name the items whose product is meant;
>>  2) it doesn't tell me file name and line number causing the problem.
> you can find out which part of the code generated the warning by setting the 
> option
> 
> debug_on_warning (true);
> 
> before you run it. 
>>  Is this the way it is supposed to be ?
> 
> Warnings usually don't give information about the file name and line where 
> they were generated,
> I think that's because they are just warnings so they are meant to not be to 
> invasive and/or annoying.
> 
>>  Thanks,
>>    Sergei.
> 
> HTH,
> c.
>

In this case when I fixed the actual bug the warning disappeared.

The bug was that I needed FOO' instead of just FOO.

Regards,
  Sergei.


reply via email to

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