diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index 3b1f573..a44bba1 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -24,7 +24,11 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou //rotate my perm. std::rotate(myPerm.begin(), myPerm.begin()+offset*rank,myPerm.end()); - + std::cout << "source: "; + for(int i = 0; i < source.size(); i++){ + std::cout << source[i].GetName() << " "; + } + std::cout << std::endl; do { double cost; //Add up the cost of the current permutation.