Changeset 1014 for XIOS/trunk/src/node/interpolate_domain.cpp
- Timestamp:
- 01/04/17 17:09:50 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/interpolate_domain.cpp
r1004 r1014 55 55 { 56 56 case mode_attr::read: 57 if (this-> file.isEmpty())57 if (this->weight_filename.isEmpty()) 58 58 { 59 59 if (!this->write_weight) … … 64 64 else 65 65 { 66 weightFile = this-> file;66 weightFile = this->weight_filename; 67 67 ifstream f(weightFile.c_str()); 68 68 if (!f.good()) … … 75 75 break; 76 76 case mode_attr::read_or_compute: 77 if (!this-> file.isEmpty() && !this->write_weight)77 if (!this->weight_filename.isEmpty() && !this->write_weight) 78 78 { 79 weightFile = this-> file;79 weightFile = this->weight_filename; 80 80 ifstream f(weightFile.c_str()); 81 81 if (!f.good())
Note: See TracChangeset
for help on using the changeset viewer.