Changeset 9474
- Timestamp:
- Oct 10, 2006, 2:11:55 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/gastro2/src/greference2.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/gastro2/src/greference2.c
r8513 r9474 113 113 status = RD_to_XY (&X, &Y, 0.0, 90.0, &Target[0].coords); 114 114 if (status) { 115 if (fabs(X - NX*0.5) <(NFIELD + 0.5)*NX) goto not_north;116 if (fabs(Y - NY*0.5) <(NFIELD + 0.5)*NY) goto not_north;115 if (fabs(X - NX*0.5) > (NFIELD + 0.5)*NX) goto not_north; 116 if (fabs(Y - NY*0.5) > (NFIELD + 0.5)*NY) goto not_north; 117 117 catstats[0].DEC[1] = 90.0; 118 118 } … … 121 121 status = RD_to_XY (&X, &Y, 0.0, -90.0, &Target[0].coords); 122 122 if (status) { 123 if (fabs(X - NX*0.5) <(NFIELD + 0.5)*NX) goto not_south;124 if (fabs(Y - NY*0.5) <(NFIELD + 0.5)*NY) goto not_south;123 if (fabs(X - NX*0.5) > (NFIELD + 0.5)*NX) goto not_south; 124 if (fabs(Y - NY*0.5) > (NFIELD + 0.5)*NY) goto not_south; 125 125 catstats[0].DEC[0] = -90.0; 126 126 }
Note:
See TracChangeset
for help on using the changeset viewer.
