File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -170,10 +170,6 @@ pcl::PCLBase<PointT>::initCompute ()
170
170
// Set the number of threads
171
171
#ifdef _OPENMP
172
172
num_threads_ = num_threads_ != 0 ? num_threads_ : omp_get_num_procs ();
173
- #else
174
- if (num_threads_ != 1 ) {
175
- PCL_WARN (" OpenMP is not available. Keeping number of threads unchanged at 1\n " );
176
- }
177
173
#endif
178
174
179
175
return (true );
Original file line number Diff line number Diff line change @@ -133,10 +133,6 @@ pcl::PCLBase<pcl::PCLPointCloud2>::initCompute ()
133
133
// Set the number of threads
134
134
#ifdef _OPENMP
135
135
num_threads_ = num_threads_ != 0 ? num_threads_ : omp_get_num_procs ();
136
- #else
137
- if (num_threads_ != 1 ) {
138
- PCL_WARN (" OpenMP is not available. Keeping number of threads unchanged at 1\n " );
139
- }
140
136
#endif
141
137
142
138
return (true );
You can’t perform that action at this time.
0 commit comments