fix check

This commit is contained in:
Maximilian Keßler 2023-11-06 22:22:28 +01:00
parent 8bca75abcf
commit e336686ddb
Signed by: max
GPG key ID: BCC5A619923C0BA5
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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];
}
}