Ignore:
Timestamp:
07/10/17 17:28:00 (7 years ago)
Author:
mhnguyen
Message:

Correcting a minor bug of domain reduction

Test
+) No test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/transformation/axis_algorithm_reduce_domain.cpp

    r1158 r1204  
    102102  CArray<int,1>& axisDstIndex = axisDest_->index; 
    103103  int ni_glo = domainSrc_->ni_glo, nj_glo = domainSrc_->nj_glo; 
    104   if (jDir == dir_) 
     104  if (iDir == dir_) 
    105105  { 
    106106    int nbAxisIdx = axisDstIndex.numElements(); 
     
    117117    } 
    118118  } 
    119   else if (iDir == dir_) 
     119  else if (jDir == dir_) 
    120120  { 
    121121    int nbAxisIdx = axisDstIndex.numElements(); 
Note: See TracChangeset for help on using the changeset viewer.