# HG changeset patch # User Nicholas R. Jankowski # Date 1667101338 14400 # Node ID d727bda73574dfacaf454ee7c80dcc2c8c2b0f99 # Parent e4a52cb9ce414c47c9c108e88151b0b6fa619a6f normalize.m: Remove redundant calculation from 1-input case * Remove the output calculation line from the simple 1-input code path that also is performed at the end of the function and was being performed twice. diff -r e4a52cb9ce41 -r d727bda73574 scripts/statistics/normalize.m --- a/scripts/statistics/normalize.m Sat Oct 29 18:28:07 2022 -0700 +++ b/scripts/statistics/normalize.m Sat Oct 29 23:42:18 2022 -0400 @@ -187,7 +187,6 @@ if (nargin == 1) ## Directly handle simple 1 input case. [s, c] = std (x); - z = (x - c) ./ s; else ## Parse input options