Update variable name.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user