Closed rehanog closed 10 years ago
Previously, the loop only checked one value of n. Added decremement, and escape condition. Without these, function was prone to loop forever.
Also renamed function, as British spelling of "behaviour" (with a 'u') not consistent with usage through the rest of the CAAT code-base.
Please, keep the previous function as well, deprecate it, and make it call the new one. Thanks.
Previously, the loop only checked one value of n. Added decremement, and escape condition. Without these, function was prone to loop forever.
Also renamed function, as British spelling of "behaviour" (with a 'u') not consistent with usage through the rest of the CAAT code-base.