- Timestamp:
- 04/21/17 17:39:29 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/transformation/scalar_algorithm_reduce_axis.cpp
r1037 r1103 75 75 } 76 76 77 if ( CReductionAlgorithm::ReductionOperations.end() == CReductionAlgorithm::ReductionOperations.find(op))77 if ((*CReductionAlgorithm::ReductionOperations_ptr).end() == (*CReductionAlgorithm::ReductionOperations_ptr).find(op)) 78 78 ERROR("CScalarAlgorithmReduceAxis::CScalarAlgorithmReduceAxis(CAxis* axisDestination, CAxis* axisSource, CReduceAxisToScalar* algo)", 79 79 << "Operation '" << op << "' not found. Please make sure to use a supported one" … … 81 81 << "Scalar destination " << scalarDestination->getId()); 82 82 83 reduction_ = CReductionAlgorithm::createOperation( CReductionAlgorithm::ReductionOperations[op]);83 reduction_ = CReductionAlgorithm::createOperation((*CReductionAlgorithm::ReductionOperations_ptr)[op]); 84 84 } 85 85
Note: See TracChangeset
for help on using the changeset viewer.