Changeset 881

Show
Ignore:
Timestamp:
03/29/10 23:00:59 (14 years ago)
Author:
smidl
Message:

dl correction

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.cpp

    r871 r881  
    504504        datalink_part::set_connection ( rv, rv_up); // only non-delayed version 
    505505 
    506         // create rvs of history 
     506        RV needed_from_hist = rv.subt(rv_up); //rv_up already copied by v2v 
     507         
    507508        // we can store only what we get in rv_up - everything else is removed 
    508         ivec valid_ids = rv.findself_ids ( rv_up ); // return on which position each id is 
    509         RV rv_hist = rv.subselect ( find ( valid_ids >= 0 ) ); // select only rvs that are in rv_up, ie ind>0 
     509        ivec valid_ids = needed_from_hist.findself_ids ( rv_up ); // return on which position the required id is in rv_up 
     510        RV rv_hist = needed_from_hist.subselect ( find ( valid_ids >= 0 ) ); // select only rvs that are in rv_up, ie ind>0 
    510511        RV rv_hist0 = rv_hist.remove_time(); // these RVs will form history at time =0 
    511512        // now we need to know what is needed from Up