bugGNU Octave - Bugs: bug #45212, linsolve broken in rc3 and rc4

 
 

bug #45212: linsolve broken in rc3 and rc4

Submitter:  None
Submitted:  Fri 29 May 2015 12:20:13 PM UTC
 
Category:  Octave Function Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  mtmiller
Originator Name:  Christof K√∂hler Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Tue 02 Jun 2015 04:09:49 PM UTC, comment #4: 

Retagging release from 4.0.0-rc4 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Sat 30 May 2015 07:57:03 PM UTC, comment #3: 

Fixed on the stable branch. The fix for this regression will be part of a 4.0.1 bug fix release.

http://hg.savannah.gnu.org/hgweb/octave/rev/014e942ac29f

Mike Miller <mtmiller>
Project Administrator
Fri 29 May 2015 12:41:13 PM UTC, comment #2: 

Mike: As regressions, it seems to me that this
(and bug #45207) should qualify for inclusion in
the current 4.0. These were both detected in
4.0.0rc's, which is what the rc's are for!.

Since you have patches shouldn't they be applied
to the current stable??

Michael Godfrey <godfrey>
Project Member
Fri 29 May 2015 12:27:58 PM UTC, comment #1: 

Thanks for your bug report, I can confirm this. The regression is due to the recent fix for bug #44722. The tests only exercise the 3-argument form of linsolve, a test will be added as part of the fix for this bug.

As a workaround, you can add an empty struct as the 3rd argument and it should work:

>> linsolve ([1, 2; 3, 4], [1; 2])
error: 'trans_A' undefined near line 103 column 7
error: called from
    linsolve at line 103 column 3
>> linsolve ([1, 2; 3, 4], [1; 2], struct ())
ans =

   0.00000
   0.50000

Mike Miller <mtmiller>
Project Administrator
Fri 29 May 2015 12:20:13 PM UTC, original submission:  

Hello !

In octave 4.0.0rc3 and 4.0.0rc4 the linsolve function appears to be broken.

Observed behaviour (4.0.0rc3 and 4.0.0rc4):

octave:1> a=[1,2;3,4;]; b=[1;2];
octave:2> linsolve(a,b)
error: 'trans_A' undefined near line 103 column 7
error: called from
    linsolve at line 103 column 3

Expected behaviour (octave 3.8.1 and 4.0.0rc2):

octave:1> a=[1,2;3,4;]; b=[1;2];
octave:2> linsolve(a,b)
ans =

   0.00000
   0.50000

Diff'ing the file "linsolve.m" between 4.0.0rc2 and 4.0.0rc3 I notice several changes which might have introduced this regression. I noticed it first in 4.0.0rc3 and can confirm that this persists in 4.0.0rc4. For the rc3 and rc4 builds the same compiler and configure options(i.e. only --prefix) have been used as for the rc2 build where linsolve is ok.

Running a "make check" on the 4.0.0rc3 source code for which I first noticed the problem returns:

PASS      12612
FAIL          0
XFAIL        15
SKIPPED     302

Best Regards

Christof

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-02 jwe Release4.0.0-rc4 4.0.0
    2015-05-30 mtmiller Open/ClosedOpen Closed
    2015-05-30 mtmiller StatusConfirmed Fixed
        Assigned toNone mtmiller
    2015-05-29 mtmiller Severity3 - Normal 4 - Important
        StatusNone Confirmed
        Operating SystemGNU/Linux Any

    Back to the top


    Powered by Savane 3.9