1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2012 - Scilab Enterprises - Simon MARCHETTO
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- CLI SHELL MODE -->
10 // <-- Non-regression test for bug 9844 -->
12 // <-- Bugzilla URL -->
13 // http://bugzilla.scilab.org/show_bug.cgi?id=9844
15 // <-- Short Description -->
16 // sum returns wrong values
21 A=floor(256*rand(n,m));
23 R(m,n)=max(abs(sum(B,2,"double")-sum(A,2)));
30 assert_checktrue(isempty(F));