Auto Commit

This commit is contained in:
2020-03-30 15:24:32 -06:00
parent 0216d0aa48
commit 130b9c25f9

View File

@@ -20,7 +20,7 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
returnVector.resize(source.size(), 0);
//the "nextPerm" is the permutation to stop at.
std::rotate(nextPerm.begin(), nextPerm.begin()+offset*(rank+1), nextPerm.end());
std::rotate(nextPerm.begin(), nextPerm.begin()+offset*rank, nextPerm.end());
//rotate my perm.
std::rotate(myPerm.begin(), myPerm.begin()+offset*rank,myPerm.end());