From 46699f1499c0b6920881e4d1b26e167c1df5f685 Mon Sep 17 00:00:00 2001 From: Sebastian Baunsgaard Date: Wed, 23 Oct 2024 12:46:32 +0200 Subject: [PATCH] ups --- .../java/org/apache/sysds/runtime/frame/data/columns/Array.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sysds/runtime/frame/data/columns/Array.java b/src/main/java/org/apache/sysds/runtime/frame/data/columns/Array.java index 981dcda37fc..d333afd6e54 100644 --- a/src/main/java/org/apache/sysds/runtime/frame/data/columns/Array.java +++ b/src/main/java/org/apache/sysds/runtime/frame/data/columns/Array.java @@ -126,7 +126,7 @@ protected Map createRecodeMap(int estimate, ExecutorService pool) { // final Map map = new HashMap<>((int)Math.min((long)estimate *2, size())); final int s = size(); int k = OptimizerUtils.getTransformNumThreads(); - if(pool != null || s < 10000) + if(pool == null || s < 10000) return createRecodeMap(estimate, 0, s); else return parallelCreateRecodeMap(estimate, pool, s, k);