Ignore:
Timestamp:
02/09/21 16:37:31 (3 years ago)
Author:
yushan
Message:

Graph intermediate commit to a tmp branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_graph/src/transformation/axis_algorithm/axis_algorithm_inverse.cpp

    r2019 r2030  
    6262  auto& transMap = this->transformationMapping_; 
    6363 
    64   int globalIndexSize = axisDestination->index.size(); 
     64  int globalIndexSize = axisSource->index.numElements(); 
    6565  for (int idx = 0; idx < globalIndexSize; ++idx) 
    6666  { 
    67     transMap[axisDestination->index(idx)] = globalIndexSize-axisDestination->index(idx)-1; 
     67    //transMap[axisDestination->index(idx)] = globalIndexSize-axisDestination->index(idx)-1; 
     68    transMap[axisSource->index(idx)] = globalIndexSize-axisSource->index(idx)-1; 
    6869  } 
    6970 
Note: See TracChangeset for help on using the changeset viewer.