Skip to content

Commit ab4929f

Browse files
authored
refactor: remove unreachable branch
Signed-off-by: Athan <[email protected]>
1 parent cac3846 commit ab4929f

File tree

1 file changed

+0
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/variancetk/lib

1 file changed

+0
-3
lines changed

lib/node_modules/@stdlib/stats/base/variancetk/lib/accessors.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ function variancetk( N, correction, x, strideX, offsetX ) {
5959
get = x.accessors[ 0 ];
6060

6161
n = N - correction;
62-
if ( N === 1 || strideX === 0 ) {
63-
return 0.0;
64-
}
6562
ix = offsetX;
6663
S2 = 0.0;
6764
S = 0.0;

0 commit comments

Comments
 (0)