mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fix bug in BitArray==
This commit is contained in:
parent
86fe7f3be7
commit
c7af26771e
@ -91,7 +91,7 @@ namespace ngcore
|
||||
if(data[i] != other.data[i])
|
||||
return false;
|
||||
for(auto i : Range(size%CHAR_BIT))
|
||||
if(Test(i + size * (size/CHAR_BIT)) != other.Test(i + size * (size/CHAR_BIT)))
|
||||
if(Test(i + CHAR_BIT * (size/CHAR_BIT)) != other.Test(i + CHAR_BIT * (size/CHAR_BIT)))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user