Commit 546ed663 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix compilation issue with clang

parent 81c01e75
Pipeline #471 failed with stage
in 570 minutes and 18 seconds
...@@ -310,7 +310,7 @@ public: ...@@ -310,7 +310,7 @@ public:
} }
size_t w; size_t w;
if constexpr (graph_tool::is_directed(g)) if (graph_tool::is_directed(g))
{ {
if (in_degreeS()(v, g) == 0) if (in_degreeS()(v, g) == 0)
return 0; return 0;
...@@ -778,7 +778,7 @@ public: ...@@ -778,7 +778,7 @@ public:
} }
size_t w; size_t w;
if constexpr (graph_tool::is_directed(g)) if (graph_tool::is_directed(g))
{ {
if (in_degreeS()(v, g) == 0) if (in_degreeS()(v, g) == 0)
return 0; return 0;
...@@ -873,7 +873,6 @@ private: ...@@ -873,7 +873,6 @@ private:
fmap_t _f; fmap_t _f;
double _r; double _r;
bool _default;
}; };
template <class Graph, class State, class RNG> template <class Graph, class State, class RNG>
...@@ -921,7 +920,7 @@ size_t discrete_iter_sync(Graph& g, State state, size_t niter, RNG& rng_) ...@@ -921,7 +920,7 @@ size_t discrete_iter_sync(Graph& g, State state, size_t niter, RNG& rng_)
} }
template <class Graph, class State, class RNG> template <class Graph, class State, class RNG>
size_t discrete_iter_async(Graph& g, State& state, size_t niter, RNG& rng) size_t discrete_iter_async(Graph& g, State state, size_t niter, RNG& rng)
{ {
size_t nflips = 0; size_t nflips = 0;
......
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