Skip to content

Clp coinbrew install #174

Answered by svigerske
jpbrooks asked this question in Q&A
Feb 5, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Can you try if the following change in CoinUtils works?

--- a/src/CoinBronKerbosch.cpp
+++ b/src/CoinBronKerbosch.cpp
@@ -36,7 +36,7 @@ static void *xmalloc( const size_t size );
 static void *xcalloc( const size_t elements, const size_t size );
 static void *xrealloc( void *ptr, const size_t size );
 
-bool compareNodes(BKVertex &u, const BKVertex &v) {
+bool compareNodes(const BKVertex &u, const BKVertex &v) {
     return u.fitness >= v.fitness + BK_EPS;
 }
 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jpbrooks
Comment options

Answer selected by jpbrooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants