octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Octave to Cantera - concatenation error


From: John W. Eaton
Subject: Re: Linking Octave to Cantera - concatenation error
Date: Wed, 27 Jan 2010 02:24:41 -0500

On  5-Dec-2009, Judd Storrs wrote:

| On Sat, Dec 5, 2009 at 5:12 PM, John W. Eaton <address@hidden> wrote:
| > | octave:3> { a b }
| > | ans =
| > | {
| > | }
| >
| > Here, the result is a cell array containing both class objects.
| > Nothing is printed for each element because there is no display method
| > for the class FOO.  Maybe Octave should print some default message in
| > that case, but it currently does not.  That part at least should be
| > relatively easy to fix.
| 
| Ok, I think I've made a patch to fix the display of classes that don't
| have display(). I'm not sure I got the hg changeset generation stuff
| correctly. To create the patch I did a
| 
| hg export 9924:9925 > cell-class.patch
| 
| With the patch applied:
| 
| lt-octave:1> a = foo()
| a = <class foo>
| lt-octave:2> b = foo()
| b = <class foo>
| lt-octave:3> {a b}
| ans =
| 
| {
|   [1,1] = <class foo>
|   [1,2] = <class foo>
| }

Sorry for the long delay.  I checked in this change.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]