gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 871e086: Arithmetic library: fixed typo in err


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 871e086: Arithmetic library: fixed typo in error message
Date: Wed, 13 Nov 2019 14:18:40 -0500 (EST)

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

    Arithmetic library: fixed typo in error message
    
    The error message of the arithmetic library's `arithmetic_where' opereator
    was written in two separate rounds and not edited properly so it was hard
    to read. It has been corrected with this commit.
    
    This was found by Joseph Putko.
---
 lib/arithmetic.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/arithmetic.c b/lib/arithmetic.c
index d6d1378..ec6fef9 100644
--- a/lib/arithmetic.c
+++ b/lib/arithmetic.c
@@ -618,8 +618,8 @@ arithmetic_where(int flags, gal_data_t *out, gal_data_t 
*cond,
   /* The dimension and sizes of the out and condition data sets must be the
      same. */
   if( gal_dimension_is_different(out, cond) )
-    error(EXIT_FAILURE, 0, "%s: the output and condition data sets of the "
-          "must be the same size", __func__);
+    error(EXIT_FAILURE, 0, "%s: the output and condition datasets "
+          "must have the same size", __func__);
 
   /* See if the condition array has blank values. */
   chb=gal_blank_present(cond, 0);



reply via email to

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