Changeset 1134 for XIOS/dev/branch_yushan_merged/src/transformation/scalar_algorithm_reduce_domain.cpp
- Timestamp:
- 05/16/17 17:54:30 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/transformation/scalar_algorithm_reduce_domain.cpp
r1076 r1134 69 69 } 70 70 71 if ( CReductionAlgorithm::ReductionOperations.end() == CReductionAlgorithm::ReductionOperations.find(op))71 if ((*CReductionAlgorithm::ReductionOperations_ptr).end() == (*CReductionAlgorithm::ReductionOperations_ptr).find(op)) 72 72 ERROR("CScalarAlgorithmReduceDomain::CScalarAlgorithmReduceDomain(CDomain* domainDestination, CDomain* domainSource, CReduceDomainToScalar* algo)", 73 73 << "Operation '" << op << "' not found. Please make sure to use a supported one" … … 75 75 << "Scalar destination " << scalarDestination->getId()); 76 76 77 reduction_ = CReductionAlgorithm::createOperation( CReductionAlgorithm::ReductionOperations[op]);77 reduction_ = CReductionAlgorithm::createOperation((*CReductionAlgorithm::ReductionOperations_ptr)[op]); 78 78 } 79 79
Note: See TracChangeset
for help on using the changeset viewer.