gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master e9e0a95: Two small corrections to previous com


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master e9e0a95: Two small corrections to previous commit (bafed2c)
Date: Thu, 18 May 2017 17:39:13 -0400 (EDT)

branch: master
commit e9e0a9573580334d1dbd15d8b4adc92790107193
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Two small corrections to previous commit (bafed2c)
    
    There were two typos in the variable names to two calls of
    `gal_data_malloc_array' which are corrected in this commit.
---
 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 e9230ae..ebe378c 100644
--- a/bin/mkcatalog/columns.c
+++ b/bin/mkcatalog/columns.c
@@ -79,7 +79,7 @@ columns_alloc_radec(struct mkcatalogparams *p)
           p->rd_vc[0]=gal_data_malloc_array(GAL_TYPE_FLOAT64, p->numclumps,
                                             __func__, "p->rd_vc[0]");
           p->rd_vc[1]=gal_data_malloc_array(GAL_TYPE_FLOAT64, p->numclumps,
-                                            __func__, "p->rd_vc[0]");
+                                            __func__, "p->rd_vc[1]");
         }
     }
 }
@@ -119,7 +119,7 @@ columns_alloc_georadec(struct mkcatalogparams *p)
           p->rd_gc[0]=gal_data_malloc_array(GAL_TYPE_FLOAT64, p->numclumps,
                                             __func__, "p->rd_gc[0]");
           p->rd_gc[1]=gal_data_malloc_array(GAL_TYPE_FLOAT64, p->numclumps,
-                                            __func__, "p->rd_vc[1]");
+                                            __func__, "p->rd_gc[1]");
         }
     }
 }



reply via email to

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