Changeset 1296
- Timestamp:
- 10/06/17 15:19:03 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/scalar_algorithm_reduce_axis.cpp
r1261 r1296 108 108 TransformationWeightMap& transWeight = this->transformationWeight_[0]; 109 109 110 CArray<int,1>& axisSrcIndex = axisSrc_->index; 111 int globalIndexSize = axisSrcIndex.numElements(); 110 int globalIndexSize = axisSrc_-> n_glo; 112 111 113 112 for (int idx = 0; idx < globalIndexSize; ++idx) 114 113 { 115 transMap[0].push_back( axisSrcIndex(idx));114 transMap[0].push_back(idx); 116 115 transWeight[0].push_back(1.0); 117 116 }
Note: See TracChangeset
for help on using the changeset viewer.