LifeCycleProfiles_FHorz_Case1 minor breaking change to input order

The order of the inputs to LifeCycleProfiles_FHorz_Case1 has had a minor but breaking change swapping the fourth and fifth input. These are now “Parameters, FnsToEvaluateParamNames”. Often in code these are just going to be “Params,[ ]”. Previously they were the other way round. This change brings the order in line with every other command. Apologies for the annoyance of having to swap the order but I think it is worth the growing pains to get the functions to all line up cleanly.

I have added a warning that will be printed to screen if you do use an empty fourth input (which is typically what you used to do). Specifically the warning says
warning(‘LifeCycleProfiles_FHorz_Case1 has changed the order of the fourth and fifth inputs (should now be something like Params,[ ] when previously it would have been [ ],Params)’)
warning(‘Annoying, but it makes inputs to LifeCycleProfiles_FHorz_Case1 have same order as those of similar functions’)

Note that FnsToEvaluateParamNames is largely just for internal use only (it is there so that things like general eqm can be done faster by avoiding repeating things every time the command is called). Hence in codes you are always just going to want to input “Params,[ ]

Note, this does not impact the PType version at all.

1 Like