ios: fixed bit vector output
This commit is contained in:
parent
977d3afdc9
commit
78da95a2e8
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue