From ed8f88055996f222463ce274d09effc9c06e772b Mon Sep 17 00:00:00 2001 From: bbod Date: Mon, 30 Mar 2020 18:08:18 -0600 Subject: [PATCH] Auto Commit --- HW10/MakePermutationMatrix.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: "<