Skip to content

Commit 92369ce

Browse files
reader fix
1 parent ad89aa4 commit 92369ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/osp/auxiliary/io/mtx_hypergraph_file_reader.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ bool ReadHypergraphMartixMarketFormat(std::ifstream &infile,
101101

102102
std::istringstream entryStream(line);
103103
int row = -1, col = -1;
104-
double val = 0.0;
105104

106-
if (!(entryStream >> row >> col >> val)) {
105+
if (!(entryStream >> row >> col)) {
107106
std::cerr << "Error: Malformed matrix entry.\n";
108107
return false;
109108
}

0 commit comments

Comments
 (0)