diff --git a/splinterpolator.h b/splinterpolator.h index 5e16c8ec9d641d21cd1bccba2ad35cd4a9793b00..a9b1426f8b8230943ac29c6c495743aeeed27911 100644 --- a/splinterpolator.h +++ b/splinterpolator.h @@ -1503,7 +1503,7 @@ void Splinterpolator<T>::deconv_along(unsigned int dim) ss *= _dim[i]; } - if (_nthr==1) { // If we are to run single-threaded + if (_nthr<=1) { // If we are to run single-threaded SplineColumn col(mdim,mstep); // Column helps us do the job for (unsigned int l=0; l<rdim[3]; l++) { for (unsigned int k=0; k<rdim[2]; k++) {