Skip to content

Commit

Permalink
Print empty array if empty trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Asger Gitz-Johansen committed Apr 7, 2022
1 parent b23b920 commit cfe2a4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AALTITOAD Changelog
This Changelog contains the changes since last release.
This Changelog contains the changes since last release. (Updates happen when releasing)
- [Added](https://github.com/sillydan1/AALTITOAD/pull/26) CI via github actions
- [Added](https://github.com/sillydan1/AALTITOAD/pull/27) fischer-2/5/10 mutex variants for testing
- [Added](https://github.com/sillydan1/AALTITOAD/pull/13) an attempt to fix hash-collision issue
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# 3.16+ because of target_precompiled_header
cmake_minimum_required(VERSION 3.16)
project(aaltitoad VERSION 0.9.1)
project(aaltitoad VERSION 0.9.2)
configure_file(src/config.h.in config.h)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
Expand Down
1 change: 1 addition & 0 deletions src/verifier/ReachabilitySearcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ auto ReachabilitySearcher::PrintResults(const std::vector<QueryResultPair>& resu
}
if(trace.empty()) {
spdlog::info("No trace available");
printf("[]\n"); // TODO: This should be able to print to a file
continue;
}
spdlog::info("Trace:");
Expand Down

0 comments on commit cfe2a4a

Please sign in to comment.