From e8283f33b174874264fcce833e3ee388d77489ac Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 13 Oct 2018 16:18:28 +0100 Subject: Another attempt to fix comma bug --- build.sh | 3 +++ src/main/solver/solver.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 1a6f660..58b846b 100755 --- a/build.sh +++ b/build.sh @@ -45,6 +45,9 @@ if [ "$error" = true ]; then echo "(default args = --release --solvitaire)" exit 1 else + cmake [-G "CodeBlocks - Unix Makefiles"] \ + "-DCMAKE_BUILD_TYPE=${build^^}" \ + "-Bcmake-build-$build" -H. cmake --build "cmake-build-$build" -- "$target" exit 0 fi diff --git a/src/main/solver/solver.cpp b/src/main/solver/solver.cpp index cf077f9..e0a5990 100644 --- a/src/main/solver/solver.cpp +++ b/src/main/solver/solver.cpp @@ -294,7 +294,7 @@ void solver::print_result_csv(solver::result res) { } void solver::print_null_seed_info() { - cout << ", , , , , , , , , , , , "; + cout << ", , , , , , , , , , , "; } const vector solver::get_frontier() const { -- cgit v1.2.1