From bug-request at octave dot org Fri Nov 19 07:33:16 2004 Subject: sscanf crash From: Teemu Ikonen To: bug at octave dot org Date: Fri, 19 Nov 2004 15:25:34 +0200 This happens with Debian package of 2.1.63 (i386): octave:1> s = "s" s = s octave:2> sscanf(s "%d", 1) error: string type invalid as index value octave: dim-vector.h:104: int& dim_vector::dim_vector_rep::elem(int): Assertion i >= 0 && i < ndims' failed. panic: Aborted -- stopping myself... attempting to save variables to octave-core'... save to octave-core' complete Aborted Better not to forget those commas :) Teemu ------------------------------------------------------------- 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 -------------------------------------------------------------