diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index 0c7a2a0..3b614d9 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -16,19 +16,18 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou std::vector myPerm = source; std::vector nextPerm = source; - if(!rank){ - size_t totalNumPermutations = 1; - for(size_t i = 1; i <= source.size(); i++) - totalNumPermutations *= i; - offset = totalNumPermutations/size; - std::cout << "offset: "<