print size with ordering

release/4.3a0
Frank Dellaert 2010-01-16 04:22:21 +00:00
parent a956c1a8be
commit 07c7c4c0bd
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ Ordering Ordering::subtract(const Ordering& keys) const {
/* ************************************************************************* */ /* ************************************************************************* */
void Ordering::print(const string& s) const { void Ordering::print(const string& s) const {
cout << s; cout << s << " (" << size() << "):";
BOOST_FOREACH(string key, *this) BOOST_FOREACH(string key, *this)
cout << " " << key; cout << " " << key;
cout << endl; cout << endl;