Update variable name.

This commit is contained in:
Simon
2016-06-09 07:23:33 +08:00
parent 574f0bca77
commit dca3af5bde

View File

@@ -10,10 +10,10 @@
template<size_t WIDTH> template<size_t WIDTH>
bool DistinctIndices(const FullStepRow<WIDTH>& a, const FullStepRow<WIDTH>& b, size_t len, size_t lenIndices) bool DistinctIndices(const FullStepRow<WIDTH>& a, const FullStepRow<WIDTH>& b, size_t len, size_t lenIndices)
{ {
std::vector<eh_index> aSrt = a.GetIndices(len, lenIndices); std::vector<eh_index> vIndicesA = a.GetIndices(len, lenIndices);
std::vector<eh_index> bSrt = b.GetIndices(len, lenIndices); std::vector<eh_index> vIndicesB = b.GetIndices(len, lenIndices);
for(auto const& value1: aSrt) { for(auto const& value1: vIndicesA) {
for(auto const& value2: bSrt) { for(auto const& value2: vIndicesB) {
if (value1==value2) { if (value1==value2) {
return false; return false;
} }