Skip to content

Commit

Permalink
add missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Nov 19, 2024
1 parent 326d76a commit 767af09
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cpp/src/c_api/decompress_to_edgelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,9 @@ struct decompress_to_edgelist_functor : public cugraph::c_api::abstract_functor
error_code_ = cugraph::c_api::
transpose_storage<vertex_t, edge_t, weight_t, store_transposed, multi_gpu>(
handle_, graph_, error_.get());
if (error_code_ != CUGRAPH_SUCCESS)
;
if (error_code_ != CUGRAPH_SUCCESS) return;
}
// FIXME: Transpose_storage may have a bug, since if store_transposed is True it can reverse
// the bool value of is_symmetric

auto graph =
reinterpret_cast<cugraph::graph_t<vertex_t, edge_t, store_transposed, multi_gpu>*>(
graph_->graph_);
Expand Down

0 comments on commit 767af09

Please sign in to comment.