Skip to content

Commit ffdde77

Browse files
committed
pearsonSpearmanCov: Reuse existing allocator
1 parent ac45198 commit ffdde77

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

source/dstats/cor.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,6 @@ private void pearsonSpearmanCov(bool makeNewMatrix, RoR, Matrix)
12251225
break;
12261226
case CorCovType.spearman:
12271227
foreach(row; pool.parallel(normalized)) {
1228-
auto alloc = newRegionAllocator();
12291228
auto buf = alloc.uninitializedArray!(double[])(row.length);
12301229
rank(row, buf);
12311230

0 commit comments

Comments
 (0)