* Bug #12979 fixed - exportUI did not work with vectorial export.
+* Bug #13000 fixed - []./int8(3) and on int8(3)./[] led to an endless recursive.
+
* Bug #13003 fixed - EOJ: add a converter to handle string to enum.
* Bug #13004 fixed - Debug infos were printed on an error with eoj.
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) INRIA -
-//
+// Copyright (C) 2013 - Samuel GOUGEON : http://bugzilla.scilab.org/13000
+
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
-
-function r=%i_d_s(a,b)
-
- if b==[] then r=[],end
- r=a./iconvert(b,inttype(a))
+function r = %i_d_s(a,b)
+ if b==[] then
+ r = []
+ else
+ r = a./iconvert(b,inttype(a))
+ end
endfunction
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) INRIA -
+// Copyright (C) 2013 - Samuel GOUGEON : http://bugzilla.scilab.org/13000
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
-// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
-function r=%s_d_i(a,b)
-
- if a==[] then r=[],end
- r=iconvert(a,inttype(b))./b
+function r = %s_d_i(a,b)
+ if a==[] then
+ r = []
+ else
+ r = iconvert(a,inttype(b))./b
+ end
endfunction
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+// This file is distributed under the same license as the Scilab package.
+// ===========================================================================
+//
+// <-- Non-regression test for bug 13000 -->
+//
+// <-- CLI SHELL MODE -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=13000
+//
+// <-- Short Description -->
+// Endless recursive call on []./int8(3) and on int8(3)./[]
+//
+a = []./int8(3);
+assert_checkequal(a, []);
+a = int8(3)./[];
+assert_checkequal(a, []);
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+// This file is distributed under the same license as the Scilab package.
+// ===========================================================================
+//
+// <-- Non-regression test for bug 13000 -->
+//
+// <-- CLI SHELL MODE -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=13000
+//
+// <-- Short Description -->
+// Endless recursive call on []./int8(3) and on int8(3)./[]
+//
+
+a = []./int8(3);
+assert_checkequal(a, []);
+a = int8(3)./[];
+assert_checkequal(a, []);
+