summaryrefslogtreecommitdiffstats
path: root/scilab/modules/polynomials
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-01-08 17:10:16 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-01-08 17:10:16 +0100
commit4ee3b87fea5cd13b61d963762d28553b0b3a5a6a (patch)
treea9445bc14d382dd4f396086a2aba76f44e5980fa /scilab/modules/polynomials
parent992ec2c558c6bad71d4472120388b4509034b9f2 (diff)
parent999871f35d17f9f2ce985b9d4e9827d2ed991f1f (diff)
downloadscilab-4ee3b87fea5cd13b61d963762d28553b0b3a5a6a.zip
scilab-4ee3b87fea5cd13b61d963762d28553b0b3a5a6a.tar.gz
Merge remote branch 'refs/remotes/origin/5.2'
Diffstat (limited to 'scilab/modules/polynomials')
-rw-r--r--scilab/modules/polynomials/tests/nonreg_tests/bug_2177.dia.ref17
-rw-r--r--scilab/modules/polynomials/tests/nonreg_tests/bug_2177.tst22
2 files changed, 39 insertions, 0 deletions
diff --git a/scilab/modules/polynomials/tests/nonreg_tests/bug_2177.dia.ref b/scilab/modules/polynomials/tests/nonreg_tests/bug_2177.dia.ref
new file mode 100644
index 0000000..f107531
--- /dev/null
+++ b/scilab/modules/polynomials/tests/nonreg_tests/bug_2177.dia.ref
@@ -0,0 +1,17 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - Vincent COUVERT
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7// <-- JVM NOT MANDATORY -->
8// <-- Non-regression test for bug 2177 -->
9//
10// <-- Bugzilla URL -->
11// http://bugzilla.scilab.org/show_bug.cgi?id=2177
12//
13// <-- Short Description -->
14// When i calculate roots of a simple matrix 2X2, using function ROOTS, Scilab crashes.
15A=[1,2;3,4];
16S=poly(A,"x");
17[y]=roots(S);
diff --git a/scilab/modules/polynomials/tests/nonreg_tests/bug_2177.tst b/scilab/modules/polynomials/tests/nonreg_tests/bug_2177.tst
new file mode 100644
index 0000000..6d457ff
--- /dev/null
+++ b/scilab/modules/polynomials/tests/nonreg_tests/bug_2177.tst
@@ -0,0 +1,22 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - Vincent COUVERT
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7
8// <-- JVM NOT MANDATORY -->
9
10// <-- Non-regression test for bug 2177 -->
11//
12// <-- Bugzilla URL -->
13// http://bugzilla.scilab.org/show_bug.cgi?id=2177
14//
15// <-- Short Description -->
16// When i calculate roots of a simple matrix 2X2, using function ROOTS, Scilab crashes.
17
18A=[1,2;3,4];
19S=poly(A,"x");
20[y]=roots(S);
21
22