Skip to content

Instantly share code, notes, and snippets.

@mnogu
Last active December 3, 2023 01:28
Show Gist options
  • Save mnogu/af63cbfb976998497f5fc3b837418638 to your computer and use it in GitHub Desktop.
Save mnogu/af63cbfb976998497f5fc3b837418638 to your computer and use it in GitHub Desktop.
diff --git a/src/Graph.cpp b/src/Graph.cpp
index e4385fb..7431ce3 100644
--- a/src/Graph.cpp
+++ b/src/Graph.cpp
@@ -709,6 +709,7 @@ bool Graph::getEffectiveNodeOrOptimalFunnel(uint32_t &effectiveNode, uint32_t &n
}
}
}
+ return true;
}
bool Graph::getGoodFunnel(uint32_t &node1, uint32_t &node2) const {
diff --git a/src/Graph.hpp b/src/Graph.hpp
index 9e49d7e..6b1ac36 100644
--- a/src/Graph.hpp
+++ b/src/Graph.hpp
@@ -167,6 +167,7 @@ public:
removedNeighbors.insert(removedNeighbors.end(), (*edgeBuffer)[offset]);
}
}
+ return true;
}
template <typename Container, typename OriginalNodesContainer>
diff --git a/src/Reductions.cpp b/src/Reductions.cpp
index 34274b8..a89b7fb 100644
--- a/src/Reductions.cpp
+++ b/src/Reductions.cpp
@@ -148,6 +148,7 @@ bool Reductions::removeDominatedNodes2(const uint32_t &theta) {
}
}
}
+ return true;
}
bool Reductions::removeDesks() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment