[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47330] mat2cell error message suffix doesn't
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #47330] mat2cell error message suffix doesn't match number |
Date: |
Thu, 03 Mar 2016 19:11:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
URL:
<http://savannah.gnu.org/bugs/?47330>
Summary: mat2cell error message suffix doesn't match number
Project: GNU Octave
Submitted by: sebald
Submitted on: Thu 03 Mar 2016 07:11:43 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The mat2cell mismatch error message prints out a "th" for any dimension such
as 1-th, 2-th, 3-th, 4-th.
The attached patch will fix this. For example:
octave:2> mat2cell([1],2)
error: mat2cell: mismatch on 1st dimension (1 != 2)
octave:2> mat2cell([1],1,2)
error: mat2cell: mismatch on 2nd dimension (1 != 2)
octave:2> mat2cell([1],1,1,2)
error: mat2cell: mismatch on 3rd dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,2)
error: mat2cell: mismatch on 4th dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 10th dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 11th dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 12th dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 13th dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 20th dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 21st dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 22nd dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 23rd dimension (1 != 2)
octave:2> mat2cell([1],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2)
error: mat2cell: mismatch on 24th dimension (1 != 2)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 03 Mar 2016 07:11:43 PM GMT Name:
octave-mat2cell_suffix_mismatch-djs_2016mar03.patch Size: 1kB By: sebald
<http://savannah.gnu.org/bugs/download.php?file_id=36537>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47330>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47330] mat2cell error message suffix doesn't match number,
Dan Sebald <=