octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39541] splines package: Avoid broadcast warni


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #39541] splines package: Avoid broadcast warnings in dedup
Date: Sat, 20 Jul 2013 15:30:57 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39541>

                 Summary: splines package: Avoid broadcast warnings in dedup
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Sat 20 Jul 2013 03:30:56 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When the Octave:broadcast warning is set to its default value ("on"), the
dedup function issues unnecessary warnings:


octave:1> test dedup
warning: product: automatic broadcasting operation applied
warning: quotient: automatic broadcasting operation applied
PASSES 3 out of 3 tests


This can be avoided using the patch below.  This patch does not cope with
possible errors that would prevent the Octave:broadcast warning to be restored
to its original value.  Perhaps, the whole thing could be wrap inside a
try/catch statement, but I have the feeling that this is not necessary.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 20 Jul 2013 03:30:56 PM GMT  Name:
avoid-broadcast-warnings-in-dedup.diff  Size: 789B   By: rlaboiss
Patch for inst/dedup.m
<http://savannah.gnu.org/bugs/download.php?file_id=28628>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39541>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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