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 UTCShould be Finished on: Fri 14 Jul 2017 12:00:00 AM UTC
Category: NonePriority: 5 - Normal
Item Group: NoneStatus: None
Privacy: PublicPercent Complete: 0%
Assigned to: NoneOpen/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
  • -unavailable- added by antonio (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1