We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3e4ed6 commit 602b715Copy full SHA for 602b715
include/scran_graph_cluster/edges_to_graph.hpp
@@ -29,7 +29,7 @@ namespace scran_graph_cluster {
29
template<typename Vertex_>
30
raiigraph::Graph edges_to_graph(size_t double_edges, const Vertex_* edges, size_t num_vertices, igraph_bool_t directed) {
31
if constexpr(std::is_same<Vertex_, igraph_integer_t>::value) {
32
- igraph_vector_int_t edge_view;
+ igraph_vector_int_t edge_view{};
33
igraph_vector_int_view(&edge_view, edges, double_edges);
34
return raiigraph::Graph(&edge_view, num_vertices, directed);
35
} else {
0 commit comments