Commit 8c8323af authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

graph_blockmodel_covariates.cc: Fix bad_any_cast bug

parent 3dfbb30d
Pipeline #96 failed with stage
......@@ -151,7 +151,7 @@ struct cov_move_sweep_dispatch
{
vector<std::reference_wrapper<Graph>> gs;
for (GraphInterface& ag : ags)
gs.push_back(*any_cast<Graph*>(ag.get_graph_view()));
gs.push_back(any_cast<std::reference_wrapper<Graph>>(ag.get_graph_view()));
if (is_directed::apply<Graph>::type::value)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment