From 1784ab79eeffb1d94fb9c98fc25a1345dac0f12b Mon Sep 17 00:00:00 2001 From: Franck HOUSSEN Date: Thu, 19 Sep 2024 13:52:36 +0200 Subject: [PATCH] Fix ctad error for old compilers. --- EXAMPLES/MATRIX_MARKET/arpackmm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EXAMPLES/MATRIX_MARKET/arpackmm.cpp b/EXAMPLES/MATRIX_MARKET/arpackmm.cpp index 59799ca0..72989509 100644 --- a/EXAMPLES/MATRIX_MARKET/arpackmm.cpp +++ b/EXAMPLES/MATRIX_MARKET/arpackmm.cpp @@ -718,7 +718,7 @@ int itrSolve(options& opt, output& out, double const& slvItrILUDropTol, for (auto idx = 0; idx < as.val.size(); idx++) { double val = norm(as.val[idx]); double res = as.computeResidualNorm(idx, A, opt.stdPb ? nullptr : &B); - out.res.push_back(tuple{val, res}); + out.res.push_back(tuple{val, res}); } return 0; @@ -810,7 +810,7 @@ int drtSolve(options& opt, output& out) { for (auto idx = 0; idx < as.val.size(); idx++) { double val = norm(as.val[idx]); double res = as.computeResidualNorm(idx, A, opt.stdPb ? nullptr : &B); - out.res.push_back(tuple{val, res}); + out.res.push_back(tuple{val, res}); } return 0; @@ -1029,7 +1029,7 @@ int run(int argc, char** argv) { cout << endl; for (auto idx = 0; idx < out.res.size(); idx++) { - tuple res = out.res[idx]; + tuple res = out.res[idx]; cout << "RES: eigen value " << idx << ": " << get<0>(res); cout << " (residual norm " << get<1>(res) << ")"; cout << endl;