- Timestamp:
- 03/08/22 12:30:26 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_array_impl.hpp
r2146 r2305 113 113 bool CAttributeArray<T_numtype,N_rank>::isEqual_(const CAttributeArray& attr) 114 114 { 115 if ((!this->hasInheritedValue() && !attr.hasInheritedValue())) 116 return true; 117 if (this->hasInheritedValue() && attr.hasInheritedValue()) 118 return (this->getInheritedValue() == attr.getInheritedValue()); 119 else 120 return false; 115 if (this->isEmpty() && attr.isEmpty()) return true ; 116 if (!this->isEmpty() && !attr.isEmpty()) return (this->getValue() == attr.getValue()); 117 else return false; 121 118 } 122 119
Note: See TracChangeset
for help on using the changeset viewer.