Changeset 17327
- Timestamp:
- 02/20/14 19:58:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/kriging/Observations.cpp
r16989 r17327 202 202 203 203 /*If radius is not provided or is 0, return all observations*/ 204 if(radius==0.) radius=this->quadtree->root->length ;204 if(radius==0.) radius=this->quadtree->root->length*2.; 205 205 206 206 /*Compute radius square*/ … … 466 466 _assert_(pprediction); 467 467 468 /*If radius is not provided or is 0, return all observations*/469 if(radius==0) radius=this->quadtree->root->length;470 471 468 /*Get list of observations for current point*/ 472 469 this->ObservationList(&x,&y,&obs,&n_obs,x_interp,y_interp,radius,maxdata); … … 505 502 Green[i*n_obs+j] = Green[j*n_obs+i]; 506 503 } 504 /*Zero diagonal (should be done already, but just in case)*/ 505 Green[i*n_obs+i] = 0.; 507 506 } 508 507
Note:
See TracChangeset
for help on using the changeset viewer.