1 // ============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
5 // This file is distributed under the same license as the Scilab package.
6 // ============================================================================
8 // <-- CLI SHELL MODE -->
10 // <-- Non-regression test for bug 490 -->
11 // Please note that it is store under the request feature of Scilab
13 // <-- Bugzilla URL -->
14 // http://requestzilla.scilab.org/show_bug.cgi?id=490
16 // <-- Short Description -->
17 // Wrong size detection in sparse matrix
19 toto = spzeros(2^16, 2^16);
20 toto(1, 8) =toto(1, 8)+5;
21 toto(1, 8) =toto(1, 8)+5;
22 if toto(1, 8) == []; then pause, end