From 25f6348323aacf29dd739fadcd1ea48b4a9a14ef Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 27 Sep 2024 15:12:28 -0400 Subject: [PATCH] silly --- CMakeLists.txt | 2 +- lib/blt | 2 +- src/main.cpp | 11 ++++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55e41af..67191b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(COSC-4P80-Assignment-1 VERSION 14.2.0) +project(COSC-4P80-Assignment-1 VERSION 14.2.1) 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 0d13e97..0ecee08 160000 --- a/lib/blt +++ b/lib/blt @@ -1 +1 @@ -Subproject commit 0d13e9738f6f666faec827940948337cef644aba +Subproject commit 0ecee088f6a633be523468843c55b925550ca691 diff --git a/src/main.cpp b/src/main.cpp index 5677efe..459f0ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -132,7 +132,7 @@ int main() BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; BLT_TRACE(""); - + for (const auto& [index, value] : blt::enumerate(part_c_2_inputs).rev()) BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; @@ -156,9 +156,14 @@ int main() for (const auto& [index, value] : blt::enumerate(part_c_2_inputs).skip(2).take(3)) BLT_TRACE_STREAM << index << " : " << value.vec_from_column_row() << '\n'; + for (const auto& [a, b] : blt::in_pairs(part_a_inputs, part_a_outputs)) + { + BLT_TRACE_STREAM << a << " : " << b << "\n"; + } + // BLT_TRACE("%s", blt::type_string::type>().c_str()); - - + + // part_a(); // part_b(); // part_c();