Changeset 38715
- Timestamp:
- Sep 7, 2015, 3:45:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150625/Ohana/src/libdvo/src/AstromOffsetMapOps.c
r38698 r38715 405 405 // data value & weight for this point 406 406 if (!isfinite(f[i])) continue; 407 if ( !isfinite(df[i])) continue;408 if (df [i] == 0.0) continue;407 if (df && !isfinite(df[i])) continue; 408 if (df && df[i] == 0.0) continue; 409 409 410 410 // if (mask && (mask[i] & maskValue)) continue; … … 421 421 int N = Nvalue[I]; 422 422 values[I][N] = f[i]; 423 dvalues[I][N] = df [i];423 dvalues[I][N] = df ? df[i] : 1.0; 424 424 Nvalue[I] ++; 425 425 }
Note:
See TracChangeset
for help on using the changeset viewer.
