ios: fixed bit vector output

This commit is contained in:
Mirek Kratochvil 2012-05-15 14:03:56 +02:00
parent 977d3afdc9
commit 78da95a2e8

View file

@ -43,8 +43,8 @@ ostream& operator<< (ostream&o, const matrix& m)
ostream& operator<< (ostream&o, const bvector& v) ostream& operator<< (ostream&o, const bvector& v)
{ {
o << "vector of " << v.size() << " elements:" << endl; o << "vector of " << v.size() << " elements:" << endl;
for (uint i = 0, e = v.size(); i < e; ++i) cout << v[i]; for (uint i = 0, e = v.size(); i < e; ++i) o << v[i];
cout << endl; o << endl;
return o; return o;
} }