[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some
From: |
Julien Bect |
Subject: |
[Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes |
Date: |
Thu, 11 Feb 2016 12:30:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:39.0) Gecko/20100101 Firefox/39.0 |
Follow-up Comment #9, bug #43925 (project octave):
Ooops, there are so many typos in my previous message that if find it hard to
read... I meant:
For matlab compatibility, ismatrix must return true for sizes such as 0x1 or
1x0. The rule is that ismatrix returns true if the size is [m n] for
non-negative integers m and n.
I have just tested without the sz>=0 tests, and all the unit tests still pass.
I will prepare a modified patch later.
In the meantime, I am currently which xtest statements in
test/classes/classes.tst can now be converted to test.
I have also found out that columns() and rows() suffer from exactly the same
problem. I will extend the patch to deal with them as well.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43925>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Lachlan Andrew, 2016/02/08
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Lachlan Andrew, 2016/02/08
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/10
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/10
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/10
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Lachlan Andrew, 2016/02/11
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/11
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes,
Julien Bect <=
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Lachlan Andrew, 2016/02/11
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/11
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/11
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/12
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Lachlan Andrew, 2016/02/12
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/12
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/12
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/12
- [Octave-bug-tracker] [bug #43925] isscalar behaves incorrectly for some user-defined classes, Julien Bect, 2016/02/17