Skip to content

Commit 3065e59

Browse files
author
Narayanan Sundaram
committed
Test to look for edge weight loading bug
1 parent fb03d02 commit 3065e59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_io.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
template<typename T>
4141
void test_read_mtx(int n, bool binaryformat, bool header, bool edgeweights) {
4242
auto E = generate_dense_edgelist<T>(n);
43+
GraphMat::random_edge_weights(&E, 128);
4344

4445
std::string tempfilenamestr = "GM_tempfileXXXXXX" + std::to_string(GraphMat::get_global_myrank());
4546
int suffixlen = std::to_string(GraphMat::get_global_myrank()).size();

0 commit comments

Comments
 (0)