summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorCedric Delamarre <cedric.delamarre@esi-group.com>2021-05-26 11:32:24 +0200
committerSt├ęphane MOTTELET <stephane.mottelet@utc.fr>2021-05-26 12:43:33 +0200
commitdc59e40ebf08b54c0495422fa522e050eb3521f5 (patch)
tree6ea6ca7b3579a700bee8b4bef12e788a347da4f4 /modules
parenteede300463cf6367f65f83b3c72481f3d80c3c38 (diff)
downloadscilab-dc59e40ebf08b54c0495422fa522e050eb3521f5.zip
scilab-dc59e40ebf08b54c0495422fa522e050eb3521f5.tar.gz
dotdiv fixed
* restore overload for dotdiv between eye() and int * template fixed for linux See also http://bugzilla.scilab.org/show_bug.cgi?id=16667 Change-Id: Ie4f12cde19a9d6711e7233ef4cc3c1f2a17a04f7
Diffstat (limited to 'modules')
-rw-r--r--modules/ast/tests/nonreg_tests/bug_16667.tst20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/ast/tests/nonreg_tests/bug_16667.tst b/modules/ast/tests/nonreg_tests/bug_16667.tst
new file mode 100644
index 0000000..486c684
--- /dev/null
+++ b/modules/ast/tests/nonreg_tests/bug_16667.tst
@@ -0,0 +1,20 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2021 - St├ęphane MOTTELET
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7//
8// <-- CLI SHELL MODE -->
9// <-- NO CHECK REF -->
10//
11// <-- Non-regression test for bug 16667 -->
12//
13// <-- Bugzilla URL -->
14// http://bugzilla.scilab.org/16667
15//
16// <-- Short Description -->
17// ./ is broken for a RHS having 0 (recent regression. 6.1.0 was OK)
18
19assert_checkequal(1./[1 0],[1 %inf])
20assert_checkequal(1./[1 -0],[1 -%inf])