|
From: | David Bateman |
Subject: | [Octave-bug-tracker] [bug #31942] Save/load single precision variables with MATLAB data format fails |
Date: | Tue, 28 Dec 2010 19:46:11 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1) |
Update of bug #31942 (project octave): Item Group: Crash => Incorrect Result Status: Confirmed => Fixed Assigned to: None => dbateman Open/Closed: Open => Closed Depends on: => bugs #30800 _______________________________________________________ Follow-up Comment #2: There wasn't any saving of the single precision type in the matlab format till it was added after the bug report #30800 (see https://savannah.gnu.org/bugs/?30800). I made a slight error in this previous fix that prevented single precision arrays with an odd number of elements being saved. The size of the data to save needs to be an integer number of 8 bytes long with 4 bytes of padding if needed (and it was), but the length of the data element saved in the header of the element didn't take this into account. The changeset http://hg.savannah.gnu.org/hgweb/octave/rev/a4822f3d1032 addresses this. As this fixes this bug report for me I'm closing it. D. PS. I added the reporter of bug #30800 in copy to this message so that he is aware of the issue. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?31942> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |