summaryrefslogtreecommitdiff
path: root/utils/array2d.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-05-16 07:09:16 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-05-16 07:09:16 -0400
commit4067927d57318d0863d3c1eada787393cf5df5b2 (patch)
tree9a8712e8fba3acdbb215073bb92872df01c2bc95 /utils/array2d.h
parent824c96f038b0447ce83ae92cad112a5be49e3330 (diff)
clean up
Diffstat (limited to 'utils/array2d.h')
-rw-r--r--utils/array2d.h2
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";