We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4def9 commit 9335588Copy full SHA for 9335588
Tests/0000_CommonUtilities/UnitTestHelper.h
@@ -118,7 +118,7 @@ class UnitTestHelper
118
auto minimumElementIterator = min_element(data.begin(), data.end());
119
long long startIndex = distance(data.begin(), minimumElementIterator);
120
vector<T> normalizedCycle;
121
- normalizedCycle.insert(normalizedCycle.begin(), data.begin() + startIndex, data.end());
+ normalizedCycle.insert(normalizedCycle.end(), data.begin() + startIndex, data.end());
122
normalizedCycle.insert(normalizedCycle.end(), data.begin(), data.begin() + startIndex);
123
return normalizedCycle;
124
}
0 commit comments