*/
#include <iostream>
+#include <algorithm>
#include <sstream>
#include <basics.h>
#include <static_bitsequence.h>
for(uint i=0;i<len && !error;i++) {
//cout << "i="<<i<< endl;
if(i>0) {
- if(i%max(1,(bs->length()/100))==0) { cout << "."; cout.flush(); }
- if(i%max(1,(bs->length()/10))==0) { cout << endl; cout.flush(); }
+ if(i%max((uint)1,(bs->length()/100))==0) { cout << "."; cout.flush(); }
+ if(i%max((uint)1,(bs->length()/10))==0) { cout << endl; cout.flush(); }
}
if(bitget(bitseq,i)) ones++;
if(bs->access(i) != (bitget(bitseq,i)!=0)) {