From a8b3919884a71ab3ca7a8b066be10e3ba2d93bfb Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Mon, 18 Nov 2024 12:44:49 +0000 Subject: [PATCH] MNT: Don't pass a value to NoOfThreads, so that it will use a default value --- splinterpolator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/splinterpolator.h b/splinterpolator.h index 6d94b11..c9e24f9 100644 --- a/splinterpolator.h +++ b/splinterpolator.h @@ -59,7 +59,7 @@ public: const std::vector<ExtrapolationType>& et, unsigned int order=3, bool copy_low_order=true, - Utilities::NoOfThreads nthr=Utilities::NoOfThreads(1), + Utilities::NoOfThreads nthr=Utilities::NoOfThreads(), double prec=1e-8, bool data_are_coefs=false) : _valid(false), _own_coef(false), _coef(0), _cptr(0), _ndim(0), _nthr(nthr._n) @@ -71,7 +71,7 @@ public: ExtrapolationType et=Zeros, unsigned int order=3, bool copy_low_order=true, - Utilities::NoOfThreads nthr=Utilities::NoOfThreads(1), + Utilities::NoOfThreads nthr=Utilities::NoOfThreads(), double prec=1e-8, bool data_are_coefs=false) : _valid(false), _own_coef(false), _coef(0), _cptr(0), _ndim(0), _nthr(nthr._n) -- GitLab