tiny fix in bitvector

This commit is contained in:
Jiri Pittner 2021-09-24 16:12:07 +02:00
parent 7f84abb541
commit ede670e719
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ return s;
unsigned int bitvector::population(const unsigned int before) const
{
if(before) laerror("before parameter in population() not implemented yet");
int i;
unsigned int s=0;
for(i=0; i<nn-1; ++i) s+=word_popul(v[i]);