File tree Expand file tree Collapse file tree 5 files changed +6
-3
lines changed
Expand file tree Collapse file tree 5 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3333
3434#include < assert.h>
3535#include < unistd.h> // sysconf
36+ #include < cstdint>
3637
3738#include < graphblas/backends.hpp>
3839
Original file line number Diff line number Diff line change @@ -1351,8 +1351,8 @@ namespace grb {
13511351 // a pipeline depth of 2 is sufficient.
13521352 constexpr size_t iteration_overlaps = 2 ;
13531353
1354- const std::unique_ptr< size_t > first_nnz_per_thread (
1355- new size_t [ num_threads * iteration_overlaps ]()
1354+ const std::unique_ptr< size_t [] > first_nnz_per_thread (
1355+ new size_t [ num_threads * iteration_overlaps ]
13561356 );
13571357 size_t * const first_nnz_per_thread_ptr = first_nnz_per_thread.get ();
13581358 outgoing.resize ( data.P );
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ namespace grb {
197197 // check default fields that should have been set by public constructor
198198 assert ( _m == 0 );
199199 assert ( _n == 0 );
200- assert ( _id = std::numeric_limits< uintptr_t >::max () );
200+ assert ( _id == std::numeric_limits< uintptr_t >::max () );
201201 assert ( _ptr == nullptr );
202202 assert ( _cap == 0 );
203203 // these default values correspond to an empty matrix and which the
Original file line number Diff line number Diff line change 3333#include < ostream>
3434#include < iostream>
3535#include < type_traits>
36+ #include < cstdint>
3637
3738#include < assert.h>
3839
Original file line number Diff line number Diff line change 2121#include < map>
2222#include < sstream>
2323#include < stdexcept>
24+ #include < cstdint>
2425
2526#include " graphblas/SynchronizedNonzeroIterator.hpp"
2627
You can’t perform that action at this time.
0 commit comments