bugGNU Octave - Bugs: bug #40190, unnecessary call to semilogy in...

 
 

bug #40190: unnecessary call to semilogy in bvp4c.m error with zero values

Submitted by:  None
Submitted on:  Sun 06 Oct 2013 03:23:49 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: Hossain PezeshkiOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 23 Oct 2013 09:48:53 PM UTC, comment #2:

Thank you for the contribution. I have pushed the change you suggested (cset 42e12a7528f6) which be part of the next odepkg release.

Carnë Draug <carandraug>
Project Member
Sun 06 Oct 2013 08:45:44 PM UTC, comment #1:

It would help a little if you'd tell us what Octave-Forge package is concerned.

Doing 'pkg load all' followed by 'which bvp4c' showed me it is odepkg. But this trick worked only because I had that -somewhat by coincidence- installed.

Could you provide a patch and add it to the patch tracker, please:
https://savannah.gnu.org/patch/?group=octave

(same for your other bug report)

Philip Nienhuis <philipnienhuis>
Project Member
Sun 06 Oct 2013 03:23:49 AM UTC, original submission:

Hello,
At line #103 of bvp4c.m there is a superfluous call to 'semilogy' obviously left over from debugging before release. This can cause scripts to abort with error.
Currently the line reads:
err = max(abs(f_est-du_est)); semilogy(tm,err), pause(.1)

The part following the semicolon is unnecessary and aborts the script when err is zero.

Thank you in advance
-HP

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by carandraug (author of bvp4c() in Octave Forge)
  • -unavailable- added by None (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 09:48:53 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1