Skip to content

Commit

Permalink
Merge pull request SINTEF-Geometry#373 from sbriseid/compile_fix_debug
Browse files Browse the repository at this point in the history
Fixed compilation in debug mode with OpenMP enabled.
  • Loading branch information
sbriseid authored Oct 8, 2024
2 parents 2582a3f + bc0d270 commit 8ac1970
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 8ac1970

Please sign in to comment.