From d802cff324bdd712f7b4f2fc4318fb69da50213c Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Mon, 23 Sep 2024 19:40:28 -0400 Subject: [PATCH] working on reversing --- CMakeLists.txt | 2 +- lib/blt | 2 +- src/main.cpp | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c726bc..7ac9af1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(COSC-4P80-Assignment-1 VERSION 0.0.9) +project(COSC-4P80-Assignment-1 VERSION 0.0.10) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) diff --git a/lib/blt b/lib/blt index 96b071e..b944b93 160000 --- a/lib/blt +++ b/lib/blt @@ -1 +1 @@ -Subproject commit 96b071e337a7124d4afe2f633f11f9be6d965ac8 +Subproject commit b944b936f40adb686f80c14bdaa5e972e6dc2d7a diff --git a/src/main.cpp b/src/main.cpp index 0b4d999..93d15e8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -127,6 +127,12 @@ int main() blt::logging::setLogOutputFormat("\033[94m[${{TIME}}]${{RC}} \033[35m(${{FILE}}:${{LINE}})${{RC}} ${{LF}}${{CNR}}${{STR}}${{RC}}\n"); a1::test_math(); + for (const auto& [index, value] : blt::enumerate(part_a_inputs)) + BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; + + for (const auto& [index, value] : blt::enumerate(part_a_inputs).rev()) + BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; + part_a(); part_b(); part_c();