|
7 | 7 | * |
8 | 8 | * This file part of: SCAMP |
9 | 9 | * |
10 | | -* Copyright: (C) 2002-2023 IAP/CNRS/SorbonneU/CEA/UParisSaclay |
| 10 | +* Copyright: (C) 2002-2024 IAP/CNRS/SorbonneU/CEA/UParisSaclay |
11 | 11 | * |
12 | 12 | * License: GNU General Public License |
13 | 13 | * |
|
22 | 22 | * You should have received a copy of the GNU General Public License |
23 | 23 | * along with SCAMP. If not, see <http://www.gnu.org/licenses/>. |
24 | 24 | * |
25 | | -* Last modified: 05/12/2023 |
| 25 | +* Last modified: 25/03/2024 |
26 | 26 | * |
27 | 27 | *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ |
28 | 28 |
|
@@ -249,7 +249,7 @@ INPUT Catalog name, |
249 | 249 | OUTPUT Pointer to the reference field. |
250 | 250 | NOTES Global preferences are used. |
251 | 251 | AUTHOR E. Bertin (IAP) |
252 | | -VERSION 05/12/2023 |
| 252 | +VERSION 25/03/2024 |
253 | 253 | */ |
254 | 254 | fieldstruct *get_astreffield(astrefenum refcat, double *wcspos, |
255 | 255 | int lng, int lat, int naxis, double maxradius, double epoch_in) |
@@ -930,8 +930,8 @@ fieldstruct *get_astreffield(astrefenum refcat, double *wcspos, |
930 | 930 | // Add in quadrature positional uncertainties added by PM correction |
931 | 931 | poserr[lng] = sqrt(poserr[lng]*poserr[lng] |
932 | 932 | + properr[lng]*properr[lng] * propfac*propfac); |
933 | | - poserr[lng] = sqrt(poserr[lat]*poserr[lat] |
934 | | - + properr[lng]*properr[lng] * propfac*propfac); |
| 933 | + poserr[lat] = sqrt(poserr[lat]*poserr[lat] |
| 934 | + + properr[lat]*properr[lat] * propfac*propfac); |
935 | 935 | } else { |
936 | 936 | // Add in quadrature positional uncert. contributed by unknown PM correction |
937 | 937 | propfac = (epoch_in - epoch) * RMS_PROP; |
|
0 commit comments