Skip to content

Commit 48a6c1a

Browse files
committed
Review fix
1 parent 46aefea commit 48a6c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/graphblas/reference/vector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ namespace grb {
12741274

12751275
template< typename D, typename C >
12761276
inline C & getCoordinates( Vector< D, reference, C > &x ) noexcept {
1277-
#ifdef _H_GRB_REFERENCE_OMP_VECTOR
1277+
#if defined(_H_GRB_REFERENCE_OMP_VECTOR) && !defined(NDEBUG)
12781278
if( x._coordinates.requiredThreadsForUpdate() != config::OMP::maxThreads() ) {
12791279
#pragma omp critical
12801280
std::cerr << " " << x._coordinates.requiredThreadsForUpdate()

0 commit comments

Comments
 (0)