diff options
author | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-05-17 10:46:23 -0400 |
---|---|---|
committer | Victor Chahuneau <vchahune@cs.cmu.edu> | 2012-05-17 10:46:23 -0400 |
commit | f78eb3465f6798a0b094b6be12775380f4a8e8a7 (patch) | |
tree | a886760f1f82e7797f0f58d47b01be57969fa29b /utils/array2d.h | |
parent | bebc7faef73b5943279e692706950c1d6cda7f42 (diff) | |
parent | b95ef85087cda78386ded6a886d050f34879b75c (diff) |
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'utils/array2d.h')
-rw-r--r-- | utils/array2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/array2d.h b/utils/array2d.h index e63eda0d..ee2600d2 100644 --- a/utils/array2d.h +++ b/utils/array2d.h @@ -155,7 +155,7 @@ inline std::ostream& operator<<(std::ostream& os, const Array2D<std::vector<bool os << (i%10); for (int j=0; j<m.height(); ++j) { const std::vector<bool>& ar = m(i,j); - for (int k=0; k<ar.size(); ++k) + for (unsigned k=0; k<ar.size(); ++k) os << (ar[k] ? '*' : '.'); } os << "\t"; |