Skip to content

Commit

Permalink
coo2csr: add parens to function calls (kokkos#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson authored and ndellingwood committed Sep 4, 2024
1 parent 88c0f29 commit 201fa46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparse/src/KokkosSparse_coo2crs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ auto coo2crs(DimType m, DimType n, RowViewType row, ColViewType col, DataViewTyp
// clang-format on
template <typename ScalarType, typename OrdinalType, class DeviceType, class MemoryTraitsType, typename SizeType>
auto coo2crs(KokkosSparse::CooMatrix<ScalarType, OrdinalType, DeviceType, MemoryTraitsType, SizeType> &cooMatrix) {
return coo2crs(cooMatrix.numRows(), cooMatrix.numCols(), cooMatrix.row, cooMatrix.col, cooMatrix.data);
return coo2crs(cooMatrix.numRows(), cooMatrix.numCols(), cooMatrix.row(), cooMatrix.col(), cooMatrix.data());
}
} // namespace KokkosSparse
#endif // _KOKKOSSPARSE_COO2CRS_HPP

0 comments on commit 201fa46

Please sign in to comment.