gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 8a3bf83: Corrected check from debugging


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 8a3bf83: Corrected check from debugging
Date: Wed, 26 Oct 2016 14:24:10 +0000 (UTC)

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

    Corrected check from debugging
    
    In a tests/debugging, I had tried printing the `esize' value of the columns
    and exited. But strangely enough, I had forgot to remove them after the job
    finished! So Table would just print the number of bytes for each column and
    abort! They are removed now.
---
 bin/table/ui.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/bin/table/ui.c b/bin/table/ui.c
index 55937d4..c7b8fd5 100644
--- a/bin/table/ui.c
+++ b/bin/table/ui.c
@@ -875,10 +875,8 @@ outputcolumns(struct tableparams *p)
       p->ocols[i].inindex=inindex;
       p->ocols[i].datatype=up->datatype[inindex];
       p->ocols[i].esize=gal_fits_datatype_size(up->datatype[inindex]);
-      printf("\n%zu\n", p->ocols[i].esize);
       --i;
     }
-  exit(1);
 }
 
 



reply via email to

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