Allug / addi

Automatically exported from code.google.com/p/addi
0 stars 0 forks source link

Concatenation of an empty matrix with a nonempty matrix #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. assign an empty matrix to an arbitrary variable, for instance
   bla = []
2. define a nonempty matrix, for instance
   nonempty = [1;2;3]
3. concatenate both matrices
   bla = [bla , nonempty]

What is the expected output? What do you see instead?
expected output:
bla =
   1
   2
   3
What do you see instead?
Error: Matrix: number of rows of each element must be equal

What version of the product are you using? On what operating system?
Addi 1.8
Android OS, v2.3 (Gingerbread)

Please provide any additional information below.
Concatenation of an empty matrix with a nonempty matrix is working on GNU 
Octave despite of differences in row and column count. As the goal is for 100 % 
Octave compliance, addi is not supposed to output an error message on a 
concatenation of an empty matrix with a nonempty matrix.

Original issue reported on code.google.com by TristanB...@gmail.com on 24 Oct 2011 at 11:27

GoogleCodeExporter commented 8 years ago

Original comment by corbi...@gmail.com on 6 Nov 2011 at 3:42

GoogleCodeExporter commented 8 years ago
Can you try going to settings/preferences inside addi and enabling the 
"experimental interpreter"?  This should be solved via that.  That will be the 
default behavior in the future.

Original comment by corbi...@gmail.com on 16 Apr 2012 at 4:51