summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiesh1oo <siesh1oo@siesh1oo.no>2014-03-12 14:15:53 +0100
committerSiesh1oo <siesh1oo@siesh1oo.no>2014-03-12 14:15:53 +0100
commit18367919ea64a0881da7cf439c99365a8807d3a3 (patch)
treed4080e6808789fce375958704df924eee7d3a6ae
parent948d04c06c181a1c270017b6d7c819426a360303 (diff)
- libs/minisat/Solver.cc: insert spaces between string and PRIu64 literal, otherwise c++11-compliant compilers will bail out due to user-defined literals (minisat bug tracker #13).
-rw-r--r--libs/minisat/Solver.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/minisat/Solver.cc b/libs/minisat/Solver.cc
index ebca294a..14aa3935 100644
--- a/libs/minisat/Solver.cc
+++ b/libs/minisat/Solver.cc
@@ -994,11 +994,11 @@ void Solver::printStats() const
{
double cpu_time = cpuTime();
double mem_used = memUsedPeak();
- printf("restarts : %"PRIu64"\n", starts);
- printf("conflicts : %-12"PRIu64" (%.0f /sec)\n", conflicts , conflicts /cpu_time);
- printf("decisions : %-12"PRIu64" (%4.2f %% random) (%.0f /sec)\n", decisions, (float)rnd_decisions*100 / (float)decisions, decisions /cpu_time);
- printf("propagations : %-12"PRIu64" (%.0f /sec)\n", propagations, propagations/cpu_time);
- printf("conflict literals : %-12"PRIu64" (%4.2f %% deleted)\n", tot_literals, (max_literals - tot_literals)*100 / (double)max_literals);
+ printf("restarts : %" PRIu64 "\n", starts);
+ printf("conflicts : %-12" PRIu64 " (%.0f /sec)\n", conflicts , conflicts /cpu_time);
+ printf("decisions : %-12" PRIu64 " (%4.2f %% random) (%.0f /sec)\n", decisions, (float)rnd_decisions*100 / (float)decisions, decisions /cpu_time);
+ printf("propagations : %-12" PRIu64 " (%.0f /sec)\n", propagations, propagations/cpu_time);
+ printf("conflict literals : %-12" PRIu64 " (%4.2f %% deleted)\n", tot_literals, (max_literals - tot_literals)*100 / (double)max_literals);
if (mem_used != 0) printf("Memory used : %.2f MB\n", mem_used);
printf("CPU time : %g s\n", cpu_time);
}