From bc0d2703fecf460a3baabbb126eef625b8940aac Mon Sep 17 00:00:00 2001 From: Sverre Briseid Date: Tue, 8 Oct 2024 10:16:55 +0200 Subject: [PATCH] Fixed compilation in debug mode with OpenMP enabled. --- lrsplines3D/src/LRVolApprox.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrsplines3D/src/LRVolApprox.C b/lrsplines3D/src/LRVolApprox.C index 87764798..46e6757b 100644 --- a/lrsplines3D/src/LRVolApprox.C +++ b/lrsplines3D/src/LRVolApprox.C @@ -1667,7 +1667,7 @@ void LRVolApprox::computeAccuracyElement_omp(vector& 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());