Skip to content

Commit e305e77

Browse files
committed
Quiet PPCG quick benchmark output
1 parent da1f555 commit e305e77

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

source/source_hsolver/test/diago_ppcg_test.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,17 +2331,14 @@ TEST_F(DiagoPPCGBenchmarkTest, DISABLED_FullBenchmark)
23312331
SUCCEED();
23322332
}
23332333

2334-
// Quick benchmark: just one representative case, fast enough for CI.
2334+
// Quick convergence smoke test: one representative case, fast enough for CI.
23352335
TEST_F(DiagoPPCGBenchmarkTest, QuickBenchmark)
23362336
{
23372337
std::vector<T> H;
23382338
std::vector<Real> prec;
23392339
make_random_hamilt(80, 60, H, prec);
23402340
const std::pair<double, double> result = run_ppcg(80, 8, H, prec);
23412341
const double avg_iter = result.first;
2342-
const double wall = result.second;
2343-
std::cout << "[PPCG QuickBench] n=80 nband=8 sparsity=60%"
2344-
<< " avg_iter=" << avg_iter << " wall=" << wall << "s\n";
23452342
EXPECT_LE(avg_iter, 500.0) << "PPCG did not converge within 500 iters";
23462343
SUCCEED();
23472344
}

0 commit comments

Comments
 (0)