Changeset 15254 for trunk/psModules/src/objects/pmTrend2D.c
- Timestamp:
- Oct 9, 2007, 9:27:04 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmTrend2D.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmTrend2D.c
r15000 r15254 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $6 * @date $Date: 2007- 09-24 21:27:58$5 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-10-09 19:26:25 $ 7 7 * 8 8 * Copyright 2004 Institute for Astronomy, University of Hawaii … … 48 48 for (int ny = 0; ny < trend->poly->nY + 1; ny++) { 49 49 if (nx + ny >= PS_MAX (trend->poly->nX, trend->poly->nY) + 1) { 50 trend->poly-> mask[nx][ny] = 1;50 trend->poly->coeffMask[nx][ny] = PS_POLY_MASK_SET; 51 51 } else { 52 trend->poly-> mask[nx][ny] = 0;52 trend->poly->coeffMask[nx][ny] = PS_POLY_MASK_NONE; 53 53 } 54 54 } … … 96 96 for (int ny = 0; ny < trend->poly->nY + 1; ny++) { 97 97 if (nx + ny >= PS_MAX (trend->poly->nX, trend->poly->nY) + 1) { 98 trend->poly-> mask[nx][ny] = 1;98 trend->poly->coeffMask[nx][ny] = PS_POLY_MASK_SET; 99 99 } else { 100 trend->poly-> mask[nx][ny] = 0;100 trend->poly->coeffMask[nx][ny] = PS_POLY_MASK_NONE; 101 101 } 102 102 } … … 137 137 for (int ny = 0; ny < trend->poly->nY + 1; ny++) { 138 138 if (nx + ny >= PS_MAX (trend->poly->nX, trend->poly->nY) + 1) { 139 trend->poly-> mask[nx][ny] = 1;139 trend->poly->coeffMask[nx][ny] = PS_POLY_MASK_SET; 140 140 } else { 141 trend->poly-> mask[nx][ny] = 0;141 trend->poly->coeffMask[nx][ny] = PS_POLY_MASK_NONE; 142 142 } 143 143 }
Note:
See TracChangeset
for help on using the changeset viewer.
