bugGNU Octave - Bugs: bug #42485, issymmetric always false for...

 
 

bug #42485: issymmetric always false for logical matrix

Submitted by:  David Spies <dspyz>
Submitted on:  Sun 01 Jun 2014 10:52:49 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 04 Jun 2014 05:11:59 AM UTC, comment #5:

I transplanted the changeset from David's repository here (http://hg.savannah.gnu.org/hgweb/octave/rev/b422ba27951c). Closing report.

Rik <rik5>
Project Administrator
Tue 03 Jun 2014 03:28:23 PM UTC, comment #4:

Matlab says:

>> x = char ('AB', 'BA')


x =

AB
BA

>> issymmetric (x)

Undefined function 'issymmetric' for input arguments of type 'char'.

>> version


ans =

8.3.0.532 (R2014a)

>>

Michael Godfrey <godfrey>
Project Member
Tue 03 Jun 2014 03:09:44 PM UTC, comment #3:

Does someone have access to Matlab who can test whether character matrices are also acceptable input?

What does Matlab return for

We might want to use ismatrix() to extend issymmetric to accept numeric, logical, or char matrices.

Rik <rik5>
Project Administrator
Mon 02 Jun 2014 08:20:22 AM UTC, comment #2:

I can't find a patch following the link you provided.

Isn't it http://hg.octave.org/octave-dspies/rev/3ad0ab18643c ?

Andreas Weber <andy1978>
Project Member
Mon 02 Jun 2014 07:29:54 AM UTC, comment #1:

Bugfix here: http://hg.octave.org/octave-dspies/rev/4ed20bebf2b5

David Spies <dspyz>
Sun 01 Jun 2014 10:52:49 PM UTC, original submission:

octave:1> issymmetric(logical(eye(2)))
ans = 0

David Spies <dspyz>

 

(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 godfrey (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by dspyz (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 04 Jun 2014 05:11:59 AM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Mon 02 Jun 2014 08:20:44 AM UTCandy1978StatusNone=>Patch Submitted

    Back to the top


    Powered by Savane 3.1-cleanup1