2 May 2005 10:58
Re: MacOS X 10.3.9 build but load-save.m test failure
David Bateman <David.Bateman <at> motorola.com>
2005-05-02 08:58:08 GMT
2005-05-02 08:58:08 GMT
Ok, I believe I've found the problem, with Dmitri's help... The issue is that the type of the saved variable is saved as an 8-bit value, I was reading it into a 4-byte variable and then using X_CAST to get to the save_type. The 3 used bytes then came into play... This would also cause problems on little endian systems where the size of the atrix or the number of non-zero terms was 256 or greater.... The attached patch should fix this problem.... D. -- -- David Bateman David.Bateman <at> motorola.com Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary
Index: src/ov-cx-sparse.cc =================================================================== RCS file: /usr/local/cvsroot/octave/src/ov-cx-sparse.cc,v retrieving revision 1.5 diff -c -r1.5 ov-cx-sparse.cc(Continue reading)
RSS Feed