EcoExtreML / STEMMUS_SCOPE

Integrated code of SCOPE and STEMMUS
GNU General Public License v3.0
14 stars 2 forks source link

Explain `subRoutine` in functions `calculateDTheta` and `calculateTheta` #192

Open SarahAlidoost opened 11 months ago

SarahAlidoost commented 11 months ago

Pull request #189 creates two new functions calculateDTheta and calculateTheta that are used to calculate Theta_* and DTheta_* variables. To re-use code, a switch case block is implemented in each function using the variable subRoutine. It would be nicer if this subRoutine was more explained (what subroutine is for what), and possibly used strings instead of integers to describe the cases.