bugGNU Octave - Bugs: bug #32102, mat2str fails on logical inputs

 
 

bug #32102: mat2str fails on logical inputs

Submitted by:  Volkmar Glauche <glauche>
Submitted on:  Tue 11 Jan 2011 09:58:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 12 Jan 2011 06:17:40 AM UTC, comment #1:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/571bfa4fc295

John W. Eaton <jwe>
Project Administrator
Tue 11 Jan 2011 09:58:32 PM UTC, original submission:

in Octave,

mat2str(logical(0))

produces an error:

error: Invalid call to mat2str. Correct usage is:

-- Function File: S = mat2str (X, N)
-- Function File: S = mat2str (..., 'class')

in MATLAB, the same command produces

mat2str(logical(0))

ans =

false

Volkmar Glauche <glauche>

 

(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 jwe (Posted a comment)
  • -unavailable- added by glauche (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 12 Jan 2011 06:17:40 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup