Skip to content

Commit

Permalink
Enabling parallel behaviour again
Browse files Browse the repository at this point in the history
  • Loading branch information
iago-suarez committed Feb 19, 2024
1 parent 0fa194d commit d0298ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PYAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ py::list batched_run_lsd(const py::array_t<double>& img,
segments.append(py::array_t<float>({1, 5}));
}

// #pragma omp parallel for
#pragma omp parallel for
for (int b = 0 ; b < batch_size ; b++){
// LSD call. Returns [x1,y1,x2,y2,width,p,-log10(NFA)] for each segment
int N;
Expand Down

0 comments on commit d0298ab

Please sign in to comment.