We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cef122 commit 778c24fCopy full SHA for 778c24f
include/graphblas/nonblocking/blas2.hpp
@@ -499,6 +499,19 @@ namespace grb {
499
if( nnz( v ) < size( v ) ) {
500
#ifdef _DEBUG
501
std::cout << "\t Dense descriptor given but input vector was sparse\n";
502
+#endif
503
+ return ILLEGAL;
504
+ }
505
+ if( nnz( u ) < size( u ) ) {
506
+#ifdef _DEBUG
507
+ std::cout << "\t Dense descriptor given but output vector was sparse\n";
508
509
510
511
+ if( size( mask ) > 0 && nnz( mask ) < size( mask ) ) {
512
513
+ std::cout << "\t Dense descriptor given but output mask has sparse "
514
+ << "structure\n";
515
#endif
516
return ILLEGAL;
517
}
0 commit comments