Skip to content

Commit

Permalink
Explicitly provide class template (fixes #131)
Browse files Browse the repository at this point in the history
  • Loading branch information
tquatmann committed Sep 20, 2023
1 parent 1297d0a commit b4aa7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void define_sparse_matrix(py::module& m, std::string const& vtSuffix) {
}, py::return_value_policy::reference, py::keep_alive<1, 0>(), py::arg("row"), "Get row")
.def("get_rows_for_group", [](SparseMatrix<ValueType>& matrix, entry_index<ValueType> group) {
auto range = matrix.getRowGroupIndices(group);
return std::vector(range.begin(), range.end());
return std::vector<uint64_t>(range.begin(), range.end());
}, py::arg("row_group"), "Get rows within a row group")
.def("print_row", [](SparseMatrix<ValueType> const& matrix, entry_index<ValueType> row) {
std::stringstream stream;
Expand Down

0 comments on commit b4aa7d6

Please sign in to comment.