From 1a3e56819937c8716fee1054e025ee463532be2c Mon Sep 17 00:00:00 2001 From: bbod Date: Mon, 30 Mar 2020 18:07:00 -0600 Subject: [PATCH] Auto Commit --- HW10/MakePermutationMatrix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index a3cfdd7..141202e 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -10,7 +10,7 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector source, int rank, int size, std::vector> costMatrix){ std::vector returnVector; std::vector localCostVector; - std::size_t offset; + std::size_t offset = 12; std::sort(source.begin(), source.end()); std::vector myPerm = source; std::vector nextPerm = source; @@ -22,7 +22,7 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou offset = totalNumPermutations/size; std::cout << "offset: "<