diff --git a/run_tests.sh b/run_tests.sh index fa95c9d..678a23f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -5,7 +5,7 @@ SUCC=() FAILED=() while read -r instance opt; do - line=($(./build/main-g $GRAPHS/$instance | grep edge)) + line=($(./cmake-build-release/matching $GRAPHS/$instance | grep edge)) result=${line[3]} if [ "$result" -eq "$opt" ]; then diff --git a/src/edmonds.cpp b/src/edmonds.cpp index e9db6f0..003c803 100644 --- a/src/edmonds.cpp +++ b/src/edmonds.cpp @@ -66,7 +66,7 @@ void check_integrity(GraphAttributes const & attrs) assert(attrs.phi[cur_node] != cur_node); assert(get_rho(attrs, attrs.phi[cur_node]) == get_rho(attrs,cur_node)); - cur_node = attrs.mu[attrs.phi[cur_node]]; + cur_node = attrs.phi[cur_node]; } }