From 78da95a2e8ee5360755084017708d9bef56e7f8f Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 15 May 2012 14:03:56 +0200 Subject: [PATCH] ios: fixed bit vector output --- lib/ios.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ios.cpp b/lib/ios.cpp index 3624aee..f5c1504 100644 --- a/lib/ios.cpp +++ b/lib/ios.cpp @@ -43,8 +43,8 @@ ostream& operator<< (ostream&o, const matrix& m) ostream& operator<< (ostream&o, const bvector& v) { o << "vector of " << v.size() << " elements:" << endl; - for (uint i = 0, e = v.size(); i < e; ++i) cout << v[i]; - cout << endl; + for (uint i = 0, e = v.size(); i < e; ++i) o << v[i]; + o << endl; return o; }