arpackSolver: cut-off arpack workspace dim. (#404)
This commit is contained in:
@@ -229,6 +229,7 @@ class arpackSolver {
|
||||
|
||||
int solve(EM & A, EM const * B = nullptr) {
|
||||
stdPb = !B ? true : false;
|
||||
if (nbCV > A.cols()) nbCV = A.cols(); // Cut-off arpack workspace dim.
|
||||
|
||||
dumpParameters();
|
||||
if (verbose == 3) {
|
||||
|
||||
@@ -622,8 +622,6 @@ int itrSolve(options& opt, output& out, double const& slvItrILUDropTol,
|
||||
cout << endl;
|
||||
cout << "INP: create A " << readATime << " s" << endl;
|
||||
|
||||
if (opt.nbCV > A.cols()) opt.nbCV = A.cols(); /* Cut-off */
|
||||
|
||||
EM B;
|
||||
if (!opt.stdPb) {
|
||||
start = chrono::high_resolution_clock::now();
|
||||
@@ -711,8 +709,6 @@ int drtSolve(options& opt, output& out) {
|
||||
cout << endl;
|
||||
cout << "INP: create A " << readATime << " s" << endl;
|
||||
|
||||
if (opt.nbCV > A.cols()) opt.nbCV = A.cols(); /* Cut-off */
|
||||
|
||||
EM B;
|
||||
if (!opt.stdPb) {
|
||||
start = chrono::high_resolution_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user