Changeset 11756 for trunk/psLib/src/math/psClip.c
- Timestamp:
- Feb 12, 2007, 2:37:22 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psClip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psClip.c
r11755 r11756 33 33 params->numKeep = 0; 34 34 params->iter = 1; 35 params->rej = 3.0;35 params->rej = 0.0; 36 36 params->masked = masked; 37 37 params->clipped = clipped; … … 131 131 PS_ASSERT_INT_NONZERO(params->meanStat, -1); 132 132 PS_ASSERT_INT_NONZERO(params->stdevStat, -1); 133 if (!isfinite(params->rej) || params->rej < =0) {133 if (!isfinite(params->rej) || params->rej < 0) { 134 134 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Rejection limit (%f) is not valid.\n", params->rej); 135 135 return -1; 136 } 137 138 if (params->rej == 0.0) { 139 // No clipping desired 140 return 0; 136 141 } 137 142
Note:
See TracChangeset
for help on using the changeset viewer.
