Commit 5b7289a8 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix a subtle, but important bug introduced back in version 1.48 . At

that point, I switched the meaning of the last parameter to fd_score,
but forgot to change one place it gets called.

The result was that if there were desires that caused violations,
they would not be removed properly by remove_node() .
parent b26f2fd8
......@@ -519,7 +519,7 @@ void remove_node(vvertex vv)
* Scoring for features and desires
int fd_violated;
double fds=fd_score(vnode,pnode,fd_violated,true);
double fds=fd_score(vnode,pnode,fd_violated,false);
double sfds=remove_stateful_fds(vnode,pnode,fd_violated);
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