Changeset 2537


Ignore:
Timestamp:
07/24/23 10:27:38 (10 months ago)
Author:
jderouillat
Message:

Add a missing return statment in the remapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/extern/remap/src/polyg.cpp

    r2534 r2537  
    127127  else if (n == 2) return midpoint(x[0], x[1]); 
    128128  else if (n == 1) return x[0]; 
     129 
     130  error_exit( "Missing return in : Coord new_barycentre(const Coord *x, int n)" ); 
     131  return ORIGIN; 
    129132} 
    130133 
Note: See TracChangeset for help on using the changeset viewer.