Ignore:
Timestamp:
12/18/18 17:34:59 (2 years ago)
Author:
yushan
Message:

bug fix (Nb of files less than Nb of servers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/object_template_impl.hpp

    r1601 r1628  
    426426   const vector<T*> CObjectTemplate<T>::getAll() 
    427427   { 
     428     int mycheck = CObjectFactory::CheckObjectVector<T>(); 
     429     if(mycheck==0) 
     430     { 
     431       vector<T*> vect; 
     432       return vect; 
     433     } 
    428434     const vector< std::shared_ptr<T> >& shared_vect= CObjectFactory::GetObjectVector<T>(CObjectFactory::GetCurrentContextId()); 
    429435     vector<T*> vect; 
Note: See TracChangeset for help on using the changeset viewer.