Skip to content

Commit 8eadf4d

Browse files
committed
More things copilot found.
1 parent 7a168fa commit 8eadf4d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/include/pcl/features/intensity_gradient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ namespace pcl
8080
inline void
8181
setNumberOfThreads(unsigned int num_threads = 0)
8282
{
83-
#ifdef _OPENMP num_threads_ =
84-
num_threads != 0 ? num_threads : omp_get_num_procs();
83+
#ifdef _OPENMP
84+
num_threads_ = num_threads != 0 ? num_threads : omp_get_num_procs();
8585
#else
8686
if (num_threads_ != 1) {
8787
PCL_WARN(

filters/include/pcl/filters/convolution.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ namespace pcl
126126
inline void
127127
setNumberOfThreads(unsigned int num_threads = 0)
128128
{
129-
#ifdef _OPENMP num_threads_ =
130-
num_threads != 0 ? num_threads : omp_get_num_procs();
129+
#ifdef _OPENMP
130+
num_threads_ = num_threads != 0 ? num_threads : omp_get_num_procs();
131131
#else
132132
if (num_threads_ != 1) {
133133
PCL_WARN(

0 commit comments

Comments
 (0)