gnuastro-devel
[Top][All Lists]
Advanced

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

[bug #64392] Arithmetic's isnotblank operator producing zeros when no bl


From: Mohammad Akhlaghi
Subject: [bug #64392] Arithmetic's isnotblank operator producing zeros when no blanks present
Date: Fri, 7 Jul 2023 07:18:12 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64392>

                 Summary: Arithmetic's isnotblank operator producing zeros
when no blanks present
                   Group: GNU Astronomy Utilities
               Submitter: makhlaghi
               Submitted: Fri 07 Jul 2023 12:18:10 PM BST
                Category: Arithmetic
                Severity: 3 - Normal
              Item Group: Output not reasonable
                  Status: In Progress
                 Privacy: Public
             Assigned to: makhlaghi
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 07 Jul 2023 12:18:10 PM BST By: Mohammad Akhlaghi <makhlaghi>
When the input data doesn't have any blank elements, the 'isnotblank' operator
will return a 0-valued dataset! While it should a one-valued dataset.

The problem can be reproduced with the commands below:


$ astarithmetic 100 100 2 makenew -o zeros.fits
$ astarithmetic zeros.fits isnotblank
$ aststatistics zeros_arith.fits  --minimum --maximum
0 0









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64392>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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