* Bug #12021 fixed - Improve the help page of eigs.
-* Bug #12123 fixed - Provide a more comprensible error message in some cases of
- of usage of eigs.
-
* Bug #12135 fixed - stacksize('max') failed silently.
* Bug #12137 fixed - eigs(A,B) returned incorrect result for sparse matrices.
* Bug #12190 fixed - Description of sprspn updated in help page.
-* Bug #12204 fixed - Fix a typo in the French localization.
+* Bug #12204 fixed - Fix a typo in the French localization
Changes between version 5.3.3 and 5.4.0
end
[mB, nB] = size(%_B);
- //Check if B has same size as A
- if(mB <> mA | mB <> nB)
+ //Check if B is a square matrix
+ if(mB * nB <> 0 & (mB <> mA | nB <> nA))
error(msprintf(gettext("%s: Wrong dimension for input argument #%d: B must have the same size as A.\n"), "eigs", 2));
end
+++ /dev/null
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru
-//
-// This file is distributed under the same license as the Scilab package.
-// =============================================================================
-// <-- CLI SHELL MODE -->
-// <-- Non-regression test for bug 12123 -->
-//
-// <-- Bugzilla URL -->
-// http://bugzilla.scilab.org/show_bug.cgi?id=12123
-//
-// <-- Short Description -->
-// eigs function: incorrect test and error message
-// =============================================================================
-A = speye(10,10);
-B = speye(4,4);
-assert_checkerror("eigs(A, B)",[],10000);
+++ /dev/null
-// =============================================================================
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru
-//
-// This file is distributed under the same license as the Scilab package.
-// =============================================================================
-
-// <-- CLI SHELL MODE -->
-
-// <-- Non-regression test for bug 12123 -->
-//
-// <-- Bugzilla URL -->
-// http://bugzilla.scilab.org/show_bug.cgi?id=12123
-//
-// <-- Short Description -->
-// eigs function: incorrect test and error message
-// =============================================================================
-
-A = speye(10,10);
-B = speye(4,4);
-assert_checkerror("eigs(A, B)",[],10000);
-