bugGNU Astronomy Utilities - Bugs: bug #64392, Arithmetic's isnotblank operator...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64392: Arithmetic's isnotblank operator producing zeros when no blanks present

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Fri 07 Jul 2023 11:18:10 AM UTC
   
 
Category:  Arithmetic Severity:  3 - Normal
Item Group:  Output not reasonable Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Fri 07 Jul 2023 11:32:29 AM UTC, comment #1: 

This bug has been fixed in Commit 6351cac8bba4.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Fri 07 Jul 2023 11:18:10 AM UTC, original submission:  

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


Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-07-07 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code