Changeset 447
- Timestamp:
- 07/18/13 18:11:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/attribute_array_impl.hpp
r445 r447 76 76 void CAttributeArray<T_numtype,N_rank>::setInheritedValue(const CAttributeArray& attr) 77 77 { 78 if (this->isEmpty() && attr.hasInheritedValue()) inheritedValue=attr ; 79 } 78 if (this->isEmpty() && attr.hasInheritedValue()) 79 { 80 inheritedValue.resize(attr.shape()) ; 81 inheritedValue=attr ; 82 } 83 } 80 84 81 85 template <typename T_numtype, int N_rank>
Note: See TracChangeset
for help on using the changeset viewer.