From bug-octave-request at che dot utexas dot edu Mon Dec 12 04:31:10 1994 Subject: OCTAVE: Bug - Report From: nowottny at mathematik dot uni-stuttgart dot de (Dietrich Nowottny) To: bug-octave at che dot utexas dot edu Date: Mon, 12 Dec 1994 11:31:02 +0100 ---------------------------------------------------------- Octave - Version: 1.0 Machine: IBM Risc 6000 Operating System: AIX 3.2.5 ---------------------------------------------------------- BUG creating matrices ===================== I think I have found a bug which occurs creating matrices. In my example the commas which separate the elements of the vector may NOT be omitted ! (This error did occur in octave-0.82, too.) Octave, version 1.0. Copyright (C) 1992, 1993, 1994 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> computer rs6000-ibm-aix3.2.5 octave:2> a=1, b=2 a = 1 b = 2 octave:3> v=[a, b, (a+b)/2] v = 1.0000 2.0000 1.5000 octave:4> v=[a b (a+b)/2] error: index invalid or out of range for scalar type error: evaluating index expression near line 4, column 7 error: evaluating binary operator `/' near line 4, column 14 error: evaluating assignment expression near line 4, column 2 octave:5> I am using a binary distribution of Octave, so this should not be a compilation error. I'm looking forward for your answer. Thank you very much in advance ! Dietrich Nowottny P.S. Thank you very much for solving my problems some days ago so quickly !