Ignore:
Timestamp:
07/28/21 11:25:01 (3 years ago)
Author:
jderouillat
Message:

Backporting commit 2088 : bug fix in remapper for gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/extern/remap/src/node.cpp

    r923 r2198  
    146146void Node::remove(const NodePtr node) 
    147147{ 
    148         if (&node == NULL) return; 
     148        if (node == NULL) return; 
    149149        double w = double(node->leafCount) / this->leafCount; 
    150150        Coord newCentre = proj(this->centre - node->centre * w); 
Note: See TracChangeset for help on using the changeset viewer.