gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 35692bd: Query: typo corrected: tyco2 should h


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 35692bd: Query: typo corrected: tyco2 should have been tycho2
Date: Sun, 3 Jan 2021 08:54:59 -0500 (EST)

branch: master
commit 35692bdf7c71af104a77a070cbd28caca840f0b1
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Query: typo corrected: tyco2 should have been tycho2
    
    Until now the internal name of Gaia's Tycho2 database was mistakenly
    written as 'tyco2', but it should have been 'tycho2'.
    
    With this commit all the wrongly written names (in the source of Query and
    also in the book) have been corrected.
    
    This was reported by Carlos Morales Socorro.
---
 bin/query/gaia.c  | 4 ++--
 doc/gnuastro.texi | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/query/gaia.c b/bin/query/gaia.c
index bc4c7e7..328920e 100644
--- a/bin/query/gaia.c
+++ b/bin/query/gaia.c
@@ -81,10 +81,10 @@ gaia_sanitycheck(struct queryparams *p)
           free(p->datasetstr);
           gal_checkset_allocate_copy("public.hipparcos", &p->datasetstr);
         }
-      else if( !strcmp(p->datasetstr, "tyco2") )
+      else if( !strcmp(p->datasetstr, "tycho2") )
         {
           free(p->datasetstr);
-          gal_checkset_allocate_copy("public.tyco2", &p->datasetstr);
+          gal_checkset_allocate_copy("public.tycho2", &p->datasetstr);
         }
     }
 }
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index d1383ab..015905c 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -10408,7 +10408,7 @@ Below is a list of the simplified names for the 
databases that have them.
 @item
 @code{dr2 --> gaiadr1.gaia_source}
 @item
-@code{tyco2 --> public.tyco2}
+@code{tycho2 --> public.tycho2}
 @item
 @code{hipparcos --> public.hipparcos}
 @end itemize



reply via email to

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