diff --git a/libnd4j/include/execution/impl/ThreadPool.cpp b/libnd4j/include/execution/impl/ThreadPool.cpp index 890fd0f08..438c29011 100644 --- a/libnd4j/include/execution/impl/ThreadPool.cpp +++ b/libnd4j/include/execution/impl/ThreadPool.cpp @@ -151,7 +151,7 @@ namespace samediff { Ticket* ThreadPool::tryAcquire(int numThreads) { //std::vector*> queues; - + if(numThreads<=0) return nullptr; Ticket *t = nullptr; // we check for threads availability first bool threaded = false;