Skip to content

Commit

Permalink
Cleanup in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLevy committed Nov 19, 2024
1 parent 0bc2d56 commit fc9e850
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib/geogram/NL/nl_amgcl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,16 +821,23 @@ template <class Backend> NLboolean nlSolveAMGCL_generic() {
amgcl::backend::sort_rows(*M_amgcl);

GEO::Stopwatch* Wbuild = new GEO::Stopwatch("AMGCL build", ctxt->verbose);

if(ctxt->verbose) {
GEO::Logger::out("AMGCL build") << "starting..." << std::endl;
}

Solver solver(M_amgcl,prm);

if(ctxt->verbose) {
GEO::Logger::out("AMGCL build") << solver << std::endl;
GEO::Logger::out("AMGCL solve") << "starting..." << std::endl;
}

delete Wbuild;

if(ctxt->verbose) {
GEO::Logger::out("AMGCL solve") << "starting..." << std::endl;
}

// Start timer when running iterative solver
// (do not count construction in gflops stats)
nlCurrentContext->start_time = nlCurrentTime();
Expand Down

0 comments on commit fc9e850

Please sign in to comment.