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

Submitted by:  Antonio Diaz Diaz <antonio>
Submitted on:  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 Percent Complete:  0%
Assigned to:  None 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>
Project Member

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3