From bug-octave-request at bevo dot che dot wisc dot edu Thu Jan 23 10:50:00 2003 Subject: current int2str breaks scalar processing From: "John W. Eaton" To: Miroslaw Kwasniak Cc: bug-octave at bevo dot che dot wisc dot edu, Miroslaw Kwasniak Date: Thu, 23 Jan 2003 10:49:42 -0600 On 23-Jan-2003, Miroslaw Kwasniak wrote: | To: bug-octave at bevo dot che dot wisc dot edu | Cc: mirek | Subject: current int2str breaks scalar processing | | Bug report for Octave 2.1.43 configured for i386-pc-linux-gnu | | Description: | ----------- | | Hi, | | Now we have: | >> size(int2str(2)) | ans = | | 1 3 | | It was | >> size(int2str(2)) | ans = | | 1 1 | | So it breaks some scripts that use an expression like this: | | Name = [ 'V' int2str(i) ]; I fixed this, but in a different way. Also, I removed the limit on large numbers by modifying the internal base_octave_stream::do_printf method for integer formats. The changes are in CVS now. Check that if you are interested, or wait for the next snapshot. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------