Changeset 1256 for trunk/lib/TinyStats.cc
- Timestamp:
- Nov 1, 2010, 5:33:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/TinyStats.cc
r1234 r1256 49 49 void TinyStats::init(const StatsCollection& sc) 50 50 { 51 std::cerr << "init\n";52 51 size_t max_lt = LineTypeParser::total; 53 52 typedef std::map<std::string, Stats*> StatsMap; … … 55 54 for (StatsMap::const_iterator i = stats_map.begin();i!=stats_map.end();++i){ 56 55 const std::string& stats_type = i->first; 57 std::cerr << stats_type << std::endl;58 56 const Stats& stats = *(i->second); 59 57 std::map<std::string, Vector>& m = data_[stats_type]; … … 61 59 for (std::set<std::string>::const_iterator author=stats.authors().begin(); 62 60 author != stats.authors().end(); ++author) { 63 std::cerr << "author: " << *author << std::endl;64 61 Vector& v = m[*author]; 65 62 v.resize(max_lt+1, 0);
Note: See TracChangeset
for help on using the changeset viewer.