dsavransky / EXOSIMS

Simulator for exoplanet direct imaging space missions
BSD 3-Clause "New" or "Revised" License
27 stars 40 forks source link

Removal of magic numbers in KeplerSTM_C #244

Open cgyurgyik opened 4 years ago

cgyurgyik commented 4 years ago

Is your feature request related to a problem? Please describe. On a number of occasions there are magic numbers used for each of the KeplerSTM functions. For example, if (counter == 1000) ... In this case, what is 1000? Or, return -2;. What is -2? By replacing these with names, code readability will improve for future maintainers.

Describe the solution you'd like

dsavransky commented 1 year ago

Fold into #333