Skip to content

Commit

Permalink
Fixed compilation in debug mode with OpenMP enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sverre Briseid authored and Sverre Briseid committed Oct 8, 2024
1 parent 2582a3f commit bc0d270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lrsplines3D/src/LRVolApprox.C
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,7 @@ void LRVolApprox::computeAccuracyElement_omp(vector<double>& points, int nmb, in
// std::cout << "stacksize (in MB): " << (double)stacksize/(1024.0*1024.0) << std::endl;
// omp_set_num_threads(4);
#pragma omp parallel default(none) private(ki, curr, dist, u_at_end, v_at_end, w_at_end, volval, kr, kj, bval, tmpval) \
shared(points, nmb, del, dim, umax, vmax, wmax, tol, maxiter, elem2, bsplines, nmb_bsplines)
shared(points, nmb, del, dim, umax, vmax, wmax, tol, maxiter, elem2, bsplines, nmb_bsplines, std::cerr)
{
bval.resize(bsplines.size());
tmpval.resize(3*bsplines.size());
Expand Down

0 comments on commit bc0d270

Please sign in to comment.