bugGNU Octave - Bugs: bug #50454, fsolve does not give an error when...


bug #50454: fsolve does not give an error when user supplied jacobian has wrong size

Submitted by:  A.R. Burgers <arb>
Submitted on:  Sat Mar 4 10:35:14 2017  
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Missed Error or Warning
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue May 9 03:59:21 2017, comment #3:

Pushed the change to the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/70edb5512c6e). Closing report.

Rik <rik5>
Project Administrator
Sun Apr 30 04:10:47 2017, comment #2:

I reviewed the patch and it seems worthwhile. Would you like to be credited with the patch? We usually check code in using the following convention.

The name is for copyright purposes, and the e-mail is just in case some issue arises later with the patch that the original author could resolve.

Otherwise I can check it in using my credentials.

Rik <rik5>
Project Administrator
Mon Mar 6 08:03:40 2017, comment #1:

attached script fsolve_jac reports:

after applying attached patch fsolve_jac_02.txt

(file #39898, file #39899, file #39900, file #39901)

A.R. Burgers <arb>
Sat Mar 4 10:35:14 2017, original submission:

When the user supplied jacobian has the wrong size, cryptic error messages can ensue. Think it is best to report an ill sized jacobian directly after its calculation.

See attached patch.

A.R. Burgers <arb>


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

Attach File(s):

Attached Files
file #39898:  fun_ok.m added by arb (68B - text/plain)
file #39899:  fsolve_jac.m added by arb (113B - text/plain)
file #39900:  fun_wrong.m added by arb (65B - text/plain)
file #39901:  fsolve_jac_02.txt added by arb (604B - text/plain)
file #39886:  fsolve_jac_01.txt added by arb (554B - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by arb (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue May 9 03:59:21 2017rik5StatusPatch Reviewed=>Fixed
    Sun Apr 30 04:10:47 2017rik5StatusNone=>Patch Reviewed
    Mon Mar 6 08:03:40 2017arbAttached File-=>Added fun_ok.m, #39898
      Attached File-=>Added fsolve_jac.m, #39899
      Attached File-=>Added fun_wrong.m, #39900
      Attached File-=>Added fsolve_jac_02.txt, #39901
    Sat Mar 4 10:35:14 2017arbAttached File-=>Added fsolve_jac_01.txt, #39886

    Back to the top

    Powered by Savane 3.1-cleanup1