Le 01/10/2015 18:37, François Granade a écrit :
.../...

2. Make operations with the empty matrix more consistent
-----------

In particular, change:

1 + []

to return [] in 6.0, instead of 1 in 5.5.2; and same for 1 - []. This would be 
more consistent with other operations ( 1*[], 1.^[] ...).

More generally:

A + []

would return [] for A of any Scilab basic type; same for other binary numerical 
operators.
.
Here is a debatable question: Are you considering this rule only whether A is scalar: 1 + [] == []
or as well whether A is a vector or matrix: [2  1 -3] + [] == []
? This discussion started @ http://bugzilla.scilab.org/12661
It looks to be a hard one.


_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to