diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index 141202e..063d4c0 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -15,13 +15,13 @@ 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: "<