Skip to content

Commit

Permalink
- update
Browse files Browse the repository at this point in the history
  • Loading branch information
billbillbilly committed Oct 30, 2023
1 parent 24cc3c6 commit 393b012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/multiLabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Rcpp::List multiLabel(Rcpp::NumericMatrix &vpts,
const int vptnum = vpts.rows();
Rcpp::List output(vptnum);
#ifdef _WIN32
#pragma omp parallel shared(output, dsm_list, max_dis, vpth, h, vptnum) num_threads(workers) for
#pragma omp parallel shared(output, dsm_list, max_dis, vpth, h, vptnum) num_threads(workers)
#pragma omp for
for (int i = 0; i < vptnum; i++) {
const Rcpp::NumericMatrix sub_dsm = dsm_list[i];
int vx = vpts(i,0);
Expand Down

0 comments on commit 393b012

Please sign in to comment.