|
From: | Thomas Treichl |
Subject: | Re: new snapshot (2.9.10) |
Date: | Fri, 23 Mar 2007 20:58:10 +0100 |
User-agent: | Thunderbird 1.5.0.10 (Macintosh/20070221) |
John W. Eaton schrieb:
On 23-Mar-2007, Thomas Treichl wrote:| only a wish: Can you please fix the example/make_int.cc - I get an error when | trying to compile this with mkoctfile. I'm not able to fix this problem on my own. | | bash$ mkoctfile make_int.cc| make_int.cc: In member function 'octave_value* octave_integer::clone()': | make_int.cc:74: error: cannot convert 'octave_integer*' to 'octave_value*' in | return | make_int.cc: In function 'octave_value_list Fdoit(const octave_value_list&, | int)': | make_int.cc:326: error: invalid initialization of reference of type 'const | octave_value&' from expression of type 'const octave_base_value' Try the following patch. jwe
Thank you!Another question: I downloaded the latest sources 30 minutes ago, compilation is fine on MacOSX IA32, but at the moment I'm not able to save "function handles" with any of the output option filters (ie. -v7, -v6, ...), eg.
octave:4> A = @disp A = disp octave:5> save ('-v7', 'test.mat', 'A') warning: save: wrong type argument `function handle' error: save: error while writing `A' to MAT file octave:5>I couldn't remember exactly if this was already possible, but found the topic on the list, that this was already be working with 2.9.7!?
http://www.nabble.com/loading-function-handles-from-files-tf2917423.html#a8153188 Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |