Commit 23737454 authored by incardon's avatar incardon

Fixing compilation error with CLASS1

parent cb130fcf
......@@ -546,6 +546,9 @@ public:
void setCommunicationCost(size_t v_id, size_t e, size_t communication)
{
#ifdef SE_CLASS1
size_t e_id = v_id + e;
if (e_id >= gp.getNEdge())
std::cerr << "Such edge doesn't exist (id = " << e_id << ", " << "total size = " << gp.getNEdge() << ")\n";
#endif
......
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