fixing the stats bug. was messing with it yesetrday and seemed to have borken it...
authorSameer Kumar <skumar2@uiuc.edu>
Wed, 16 Feb 2005 15:44:11 +0000 (15:44 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Wed, 16 Feb 2005 15:44:11 +0000 (15:44 +0000)
src/ck-com/ComlibStats.h

index d5ca822e41433ce065d22719a99fed174e2151b5..48992b42a36734b00bcd4da15965a774d9b219e8 100644 (file)
@@ -189,6 +189,7 @@ class ComlibLocalStats {
 
     void setNstrats(int nst) {
         nstrats = nst;
+        cdata.resize(nstrats);
     }
 
     inline void recordSend(int sid, int size, int dest) {