bugGNU Octave - Bugs: bug #39541, splines package: Avoid broadcast...

 
 

bug #39541: splines package: Avoid broadcast warnings in dedup

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Sat 20 Jul 2013 03:30:56 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 29 Jul 2013 11:24:40 AM UTC, comment #3:

Fixed in the repository as per Carlo's suggestion.

Nir Krakauer <nir_krakauer>
Sat 20 Jul 2013 03:57:38 PM UTC, comment #2:

Yes, using "local" is the right approach. Thanks for the heads up, Carlo.

Rafael Laboissiere <rlaboiss>
Sat 20 Jul 2013 03:49:02 PM UTC, comment #1:

A warning can be deactivated only for the local scope
by using the syntax:

which won't require storing/resetting the original status of the warning manually.

I think using this approach in the patch would be more appropriate.
c.

Carlo de Falco <cdf>
Project Member
Sat 20 Jul 2013 03:30:56 PM UTC, original submission:

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

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.

Rafael Laboissiere <rlaboiss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #28628:  avoid-broadcast-warnings-in-dedup.diff added by rlaboiss (789B - text/x-patch - Patch for inst/dedup.m)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nir_krakauer (Posted a comment)
  • -unavailable- added by cdf (Posted a comment)
  • -unavailable- added by rlaboiss (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Oct 2013 10:02:49 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 20 Jul 2013 03:30:56 PM UTCrlaboissAttached File-=>Added avoid-broadcast-warnings-in-dedup.diff, #28628

    Back to the top


    Powered by Savane 3.1-cleanup1