We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46aefea commit 48a6c1aCopy full SHA for 48a6c1a
include/graphblas/reference/vector.hpp
@@ -1274,7 +1274,7 @@ namespace grb {
1274
1275
template< typename D, typename C >
1276
inline C & getCoordinates( Vector< D, reference, C > &x ) noexcept {
1277
-#ifdef _H_GRB_REFERENCE_OMP_VECTOR
+#if defined(_H_GRB_REFERENCE_OMP_VECTOR) && !defined(NDEBUG)
1278
if( x._coordinates.requiredThreadsForUpdate() != config::OMP::maxThreads() ) {
1279
#pragma omp critical
1280
std::cerr << " " << x._coordinates.requiredThreadsForUpdate()
0 commit comments