Changeset 19468


Ignore:
Timestamp:
07/30/15 09:42:48 (10 years ago)
Author:
Mathieu Morlighem
Message:

CHG: minor bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp

    r19467 r19468  
    137137                        /*If we fall outside of the convex or outside of the mesh, return NaN*/
    138138                        if(tb.det<0 || reft[it]<0){
    139                                 data_interp[i*N_data+j]=-9999;
     139                                for (j=0;j<N_data;j++){
     140                                        data_interp[i*N_data+j]=NAN;
     141                                }
    140142                        }
    141143                        else{
Note: See TracChangeset for help on using the changeset viewer.