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: c.
Subject: Re: senseless warning in octave-3.6.2
Date: Sun, 1 Jul 2012 17:20:43 +0200

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.

reply via email to

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