gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 807bb0c: Headers corrected, warning fixed


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 807bb0c: Headers corrected, warning fixed
Date: Mon, 24 Apr 2017 09:36:18 -0400 (EDT)

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

    Headers corrected, warning fixed
    
    Alan Lefor kindly tested the new release on his system and some minor
    one-line corrections were made.
---
 bin/convolve/convolve.h     | 1 +
 bin/statistics/sky.c        | 4 ++--
 bin/statistics/statistics.c | 1 -
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/convolve/convolve.h b/bin/convolve/convolve.h
index 24f95cc..32e89ef 100644
--- a/bin/convolve/convolve.h
+++ b/bin/convolve/convolve.h
@@ -23,6 +23,7 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
 #ifndef CONVOLVE_H
 #define CONVOLVE_H
 
+#include <gnuastro/threads.h>
 #include <gsl/gsl_fft_complex.h>
 
 struct fftonthreadparams
diff --git a/bin/statistics/sky.c b/bin/statistics/sky.c
index a2fc2c9..a242a44 100644
--- a/bin/statistics/sky.c
+++ b/bin/statistics/sky.c
@@ -185,8 +185,8 @@ sky(struct statisticsparams *p)
   if(!cp->quiet)
     {
       num=gal_statistics_number(p->sky_t);
-      asprintf(&msg, "Sky and its STD found on %lu/%zu tiles.",
-               *((uint64_t *)(num->array)), tl->tottiles );
+      asprintf(&msg, "Sky and its STD found on %zu/%zu tiles.",
+               (size_t)(*((uint64_t *)(num->array))), tl->tottiles );
       gal_timing_report(&t1, msg, 1);
       gal_data_free(num);
       free(msg);
diff --git a/bin/statistics/statistics.c b/bin/statistics/statistics.c
index 15bc752..be8af9f 100644
--- a/bin/statistics/statistics.c
+++ b/bin/statistics/statistics.c
@@ -33,7 +33,6 @@ along with Gnuastro. If not, see 
<http://www.gnu.org/licenses/>.
 #include <gnuastro/fits.h>
 #include <gnuastro/tile.h>
 #include <gnuastro/blank.h>
-#include <gnuastro/multidim.h>
 #include <gnuastro/arithmetic.h>
 #include <gnuastro/statistics.h>
 #include <gnuastro/interpolate.h>



reply via email to

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