Changeset 23989 for trunk/psastro/src/psastroAstromGuess.c
- Timestamp:
- Apr 28, 2009, 11:21:56 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroAstromGuess.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroAstromGuess.c
r21422 r23989 382 382 psStats *statsQ = psStatsAlloc (PS_STAT_SAMPLE_MEAN | PS_STAT_SAMPLE_STDEV); 383 383 384 psVectorStats (statsP, cornerPd, NULL, cornerMK, 1); 385 psVectorStats (statsQ, cornerQd, NULL, cornerMK, 1); 384 if (!psVectorStats (statsP, cornerPd, NULL, cornerMK, 1)) { 385 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 386 return false; 387 } 388 if (!psVectorStats (statsQ, cornerQd, NULL, cornerMK, 1)) { 389 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 390 return false; 391 } 386 392 387 393 float angle = atan2 (map->y->coeff[1][0], map->x->coeff[1][0]);
Note:
See TracChangeset
for help on using the changeset viewer.
