gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 10ad157f: NEWS: preparations for Gnuastro 0.18


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 10ad157f: NEWS: preparations for Gnuastro 0.18
Date: Thu, 21 Jul 2022 13:36:11 -0400 (EDT)

branch: master
commit 10ad157fba5393094679fa57710ecfe5d696ae46
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    NEWS: preparations for Gnuastro 0.18
    
    Until now, we were developing Gnuastro 0.17, but Gnuastro 0.18 is finally
    ready for release.
    
    With this commit, the necessary parts of Gnuastro have been updated for
    Gnuastro 0.18's release: most importantly the NEWS file.
    
    In the process, with the help of to Irene Pintos Castro and Zahra Sharbaf a
    test build was also done on two macOSs. Irene's macOS printed a warning
    that has been corrected with this commit.
---
 NEWS                         |  2 +-
 doc/announce-acknowledge.txt | 16 ----------------
 doc/gnuastro.en.html         |  8 ++++----
 doc/gnuastro.fr.html         |  6 +++---
 doc/gnuastro.texi            | 29 +++++++++++++++++------------
 lib/arithmetic.c             | 15 +++++++++------
 6 files changed, 34 insertions(+), 42 deletions(-)

diff --git a/NEWS b/NEWS
index acd348b9..245b853a 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,7 @@ GNU Astronomy Utilities NEWS                          -*- 
outline -*-
 Copyright (C) 2015-2022 Free Software Foundation, Inc.
 See the end of the file for license conditions.
 
-* Noteworthy changes in release X.XX (library XX.X.X) (YYYY-MM-DD) [not yet 
released]
+* Noteworthy changes in release 0.18 (library 16.0.0) (2022-07-21)
 
 ** New features
 
diff --git a/doc/announce-acknowledge.txt b/doc/announce-acknowledge.txt
index 8085d11a..b2dac715 100644
--- a/doc/announce-acknowledge.txt
+++ b/doc/announce-acknowledge.txt
@@ -1,21 +1,5 @@
 Alphabetically ordered list to acknowledge in the next release.
 
-Marjan Akbari
-Faezeh Bijarchian
-Hilderic Browne
-Sepideh Eskandarlou
-Sílvia Farras
-Craig Gordon
-S. Zahra Hosseini Shahisavandi
-Teet Kuutma
-Jeremy Lim
-Juan Miro
-Irene Pintos Castro
-Ignacio Ruiz Cejudo
-Manuel Sánchez-Benavente
-Elham Saremi
-Peter Teuben
-Ignacio Trujillo
 
 
 
diff --git a/doc/gnuastro.en.html b/doc/gnuastro.en.html
index bfb4f36f..9ccaef4f 100644
--- a/doc/gnuastro.en.html
+++ b/doc/gnuastro.en.html
@@ -76,9 +76,9 @@ for entertaining and easy to read real world examples of using
 
 <p>
   The current stable release
-  is <strong><a 
href="https://ftp.gnu.org/gnu/gnuastro/gnuastro-0.17.tar.gz";>Gnuastro
-  0.17</a></strong> (March 20th, 2022).
-  Use <a href="https://ftpmirror.gnu.org/gnuastro/gnuastro-0.17.tar.gz";>a
+  is <strong><a 
href="https://ftp.gnu.org/gnu/gnuastro/gnuastro-0.18.tar.gz";>Gnuastro
+  0.18</a></strong> (July 21st, 2022).
+  Use <a href="https://ftpmirror.gnu.org/gnuastro/gnuastro-0.18.tar.gz";>a
   mirror</a> if possible.
 
   <!-- Comment the test release notice when the test release is not more
@@ -89,7 +89,7 @@ for entertaining and easy to read real world examples of using
   To stay up to date, please subscribe.</em></p>
 
 <p>For details of the significant changes in this release, please see the
-  <a 
href="https://git.savannah.gnu.org/cgit/gnuastro.git/plain/NEWS?id=gnuastro_v0.17";>NEWS</a>
+  <a 
href="https://git.savannah.gnu.org/cgit/gnuastro.git/plain/NEWS?id=gnuastro_v0.18";>NEWS</a>
   file.</p>
 
 <p>The
diff --git a/doc/gnuastro.fr.html b/doc/gnuastro.fr.html
index d1540e15..567a2fec 100644
--- a/doc/gnuastro.fr.html
+++ b/doc/gnuastro.fr.html
@@ -72,14 +72,14 @@
 <h3 id="download">Téléchargement</h3>
 
 <p>La version stable actuelle
-  est <strong><a 
href="https://ftp.gnu.org/gnu/gnuastro/gnuastro-0.17.tar.gz";>Gnuastro
-  0.17</a></strong> (sortie le 20 mars 2022). Utilisez <a 
href="https://ftpmirror.gnu.org/gnuastro/gnuastro-0.17.tar.gz";>un
+  est <strong><a 
href="https://ftp.gnu.org/gnu/gnuastro/gnuastro-0.18.tar.gz";>Gnuastro
+  0.18</a></strong> (sortie le 21 juillet 2022). Utilisez <a 
href="https://ftpmirror.gnu.org/gnuastro/gnuastro-0.18.tar.gz";>un
   miroir</a> si possible.  <br /><em>Les nouvelles versions sont annoncées
   sur <a 
href="https://lists.gnu.org/mailman/listinfo/info-gnuastro";>info-gnuastro</a>.
   Abonnez-vous pour rester au courant.</em></p>
 
 <p>Les changements importants sont décrits dans le
-  fichier <a 
href="https://git.savannah.gnu.org/cgit/gnuastro.git/plain/NEWS?id=gnuastro_v0.17";>
+  fichier <a 
href="https://git.savannah.gnu.org/cgit/gnuastro.git/plain/NEWS?id=gnuastro_v0.18";>
   NEWS</a>.</p>
 
 <p>Le lien
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index d02d6e31..a89db445 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -152,18 +152,17 @@ A copy of the license is included in the section entitled 
``GNU Free Documentati
 @subtitle
 @subtitle
 @end iftex
-@subtitle @strong{Important note:}
-@subtitle This is an @strong{under-development} Gnuastro release 
(bleeding-edge!).
-@subtitle It is not yet officially released.
-@subtitle The source tarball corresponding to this version is (temporarily) 
available at this URL:
-@subtitle @url{http://akhlaghi.org/src/gnuastro-@value{VERSION}.tar.lz}
-@subtitle (the tarball link above will not be available after the next 
official release)
-@subtitle The most recent under-development source and its corresponding book 
are available at:
-@subtitle @url{http://akhlaghi.org/gnuastro.pdf}
-@subtitle @url{http://akhlaghi.org/gnuastro-latest.tar.lz}
-@subtitle To stay up to date with Gnuastro's official releases, please 
subscribe to this mailing list:
-@subtitle @url{https://lists.gnu.org/mailman/listinfo/info-gnuastro}
-@subtitle
+@c @subtitle @strong{Important note:}
+@c @subtitle This is an @strong{under-development} Gnuastro release 
(bleeding-edge!).
+@c @subtitle It is not yet officially released.
+@c @subtitle The source tarball corresponding to this version is (temporarily) 
available at this URL:
+@c @subtitle @url{http://akhlaghi.org/src/gnuastro-@value{VERSION}.tar.lz}
+@c @subtitle (the tarball link above will not be available after the next 
official release)
+@c @subtitle The most recent under-development source and its corresponding 
book are available at:
+@c @subtitle @url{http://akhlaghi.org/gnuastro.pdf}
+@c @subtitle @url{http://akhlaghi.org/gnuastro-latest.tar.lz}
+@c @subtitle To stay up to date with Gnuastro's official releases, please 
subscribe to this mailing list:
+@c @subtitle @url{https://lists.gnu.org/mailman/listinfo/info-gnuastro}
 @author Mohammad Akhlaghi
 
 @page
@@ -1570,6 +1569,7 @@ Roland Bacon,
 Roberto Baena Gall@'e,
 Zahra Bagheri,
 Karl Berry,
+Faezeh Bijarchian,
 Leindert Boogaard,
 Nicolas Bouch@'e,
 Stefan Br@"uns,
@@ -1590,12 +1590,14 @@ Alessandro Ederoclite,
 Elham Eftekhari,
 Paul Eggert,
 Sepideh Eskandarlou,
+S@'ilvia Farras,
 Juan Antonio Fernández Ontiveros,
 Gaspar Galaz,
 Andr@'es García-Serra Romero,
 Zohre Ghaffari,
 Th@'er@`ese Godefroy,
 Giulia Golini,
+Craig Gordon,
 Martin Guerrero Roncel,
 Madusha Gunawardhana,
 Bruno Haible,
@@ -1613,10 +1615,12 @@ Mohammad-Reza Khellat,
 Johan Knapen,
 Geoffry Krouchi,
 Martin Kuemmel,
+Teet Kuutma,
 Clotilde Laigle,
 Floriane Leclercq,
 Alan Lefor,
 Javier Licandro,
+Jeremy Lim,
 Alejandro Lumbreras Calle,
 Sebasti@'an Luna Valero,
 Alberto Madrigal,
@@ -1633,6 +1637,7 @@ Dmitrii Oparin,
 Fran@,{c}ois Ochsenbein,
 Bertrand Pain,
 William Pence,
+Irene Pintos Castro,
 Mamta Pommier,
 Marcel Popescu,
 Bob Proulx,
diff --git a/lib/arithmetic.c b/lib/arithmetic.c
index 4500e5d9..58f88298 100644
--- a/lib/arithmetic.c
+++ b/lib/arithmetic.c
@@ -1120,8 +1120,8 @@ static size_t
 arithmetic_stitch_sanity_check(gal_data_t *list, gal_data_t *fdim)
 {
   float *fitsdim;
-  size_t c, dim;
   gal_data_t *tmp;
+  size_t c, dim, otherdim;
 
   /* Currently we only have the stitch operator for 2D datasets. */
   if(list->ndim!=2)
@@ -1169,14 +1169,17 @@ arithmetic_stitch_sanity_check(gal_data_t *list, 
gal_data_t *fdim)
               c, tmp->ndim, list->ndim);
 
       /* Make sure the length along the non-requested dimension in all the
-         inputs are the same. Note that since we currently only support 2D
-         arrays, and that 'dim' is in C standard (has a value of 0 or 1),
-         we can simply say '!dim' to point to the other dimension.*/
-      if( tmp->dsize[!dim]!=list->dsize[!dim])
+         inputs are the same. Recall that we currently only support 2D
+         datasets, so 'dim' is either '1' or '0' (we are not using '!dim'
+         because some compilers can give the 'logical-not-parentheses'
+         warning). */
+      otherdim = dim ? 0 : 1;
+      if( tmp->dsize[otherdim]!=list->dsize[otherdim])
         error(EXIT_FAILURE, 0, "input dataset number %zu has %zu "
               "elements along dimension number %d, while the first "
               "has %zu elements along that dimension", c,
-              tmp->dsize[!dim], !dim==0 ? 2 : 1, list->dsize[!dim]);
+              tmp->dsize[otherdim], otherdim==0 ? 2 : 1,
+              list->dsize[otherdim]);
     }
 
   /* Return the dimension number that must be used. */



reply via email to

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