gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 1c0864a 1/2: Fix copy-paste error in MakeCatal


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 1c0864a 1/2: Fix copy-paste error in MakeCatalog flag arrays
Date: Mon, 29 May 2017 12:42:41 -0400 (EDT)

branch: master
commit 1c0864aaef6f7008a666b17efe1ef37516cbfd36
Author: Vladimir Markelov <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Fix copy-paste error in MakeCatalog flag arrays
    
    Next two similar cases set both flags: X and Y, but these two cases set the
    same flag twice. Change flag names to have both X and Y used.
    
    This fixes bug #51130.
---
 bin/mkcatalog/columns.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/mkcatalog/columns.c b/bin/mkcatalog/columns.c
index ba91cd2..b1d63ac 100644
--- a/bin/mkcatalog/columns.c
+++ b/bin/mkcatalog/columns.c
@@ -437,7 +437,7 @@ columns_define_alloc(struct mkcatalogparams *p)
           disp_fmt       = GAL_TABLE_DISPLAY_FMT_FLOAT;
           disp_width     = 13;
           disp_precision = 7;
-          oiflag[ OCOL_C_VY ] = 1;
+          oiflag[ OCOL_C_VX ] = 1;
           oiflag[ OCOL_C_VY ] = 1;
           columns_alloc_radec(p);
           break;
@@ -452,7 +452,7 @@ columns_define_alloc(struct mkcatalogparams *p)
           disp_fmt       = GAL_TABLE_DISPLAY_FMT_FLOAT;
           disp_width     = 13;
           disp_precision = 7;
-          oiflag[ OCOL_C_VY ] = 1;
+          oiflag[ OCOL_C_VX ] = 1;
           oiflag[ OCOL_C_VY ] = 1;
           columns_alloc_radec(p);
           break;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]