Changeset 265 for bdm/stat/libBM.cpp

Show
Ignore:
Timestamp:
02/09/09 23:14:58 (15 years ago)
Author:
smidl
Message:

UI in matlab

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libBM.cpp

    r263 r265  
    5252RV::RV() : tsize ( 0 ), len ( 0 ), ids ( 0 ),  sizes ( 0 ), times ( 0 ),names ( 0 ) {}; 
    5353 
    54 RV::RV(string name, int id){ 
    55         it_assert(id>=RVcounter,"RV::This id is already taken"); 
    56         RVcounter=id; 
     54RV::RV(string name, int id, int sz, int tm){ 
     55        if (id>RVcounter) {RVcounter=id;}; 
    5756        Array<string> A(1); A(0)=name; 
    58         init(vec_1(id),A,vec_1(1),vec_1(0)); 
     57        init(vec_1(id),A,vec_1(sz),vec_1(tm)); 
    5958} 
    6059