taskGNU Astronomy Utilities - Tasks: task #14585, Avoid splitting state among...

 
 

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

task #14585: Avoid splitting state among several variables

Submitter:  Antonio Diaz Diaz <antonio>
Submitted:  Fri 14 Jul 2017 04:27:58 PM UTC
   
 
Should Start On:  Fri 14 Jul 2017 12:00:00 AM UTC Should be Finished on:  Fri 14 Jul 2017 12:00:00 AM UTC
Category:  None Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Fri 14 Jul 2017 04:27:58 PM UTC, original submission:  

What do you think about replacing the three gal_data_t flags GAL_DATA_FLAG_SORT_CH, GAL_DATA_FLAG_SORTED_I and GAL_DATA_FLAG_SORTED_D with a single variable able to contain four values like:

  SORT_UNTESTED
  UNSORTED
  SORTED_I
  SORTED_D

This would prevent invalid states like GAL_DATA_FLAG_SORTED_I and GAL_DATA_FLAG_SORTED_D set both to true.

Antonio Diaz Diaz <antonio>

 

(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 antonio (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-0159.
    Corresponding source code