diff options
author | Siesh1oo <siesh1oo@siesh1oo.no> | 2014-03-12 14:15:53 +0100 |
---|---|---|
committer | Siesh1oo <siesh1oo@siesh1oo.no> | 2014-03-12 14:15:53 +0100 |
commit | 18367919ea64a0881da7cf439c99365a8807d3a3 (patch) | |
tree | d4080e6808789fce375958704df924eee7d3a6ae | |
parent | 948d04c06c181a1c270017b6d7c819426a360303 (diff) | |
download | yosys-18367919ea64a0881da7cf439c99365a8807d3a3.tar.gz yosys-18367919ea64a0881da7cf439c99365a8807d3a3.tar.bz2 yosys-18367919ea64a0881da7cf439c99365a8807d3a3.zip |
- 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.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/minisat/Solver.cc b/libs/minisat/Solver.cc index ebca294a7..14aa39355 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); } |