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: "<