fix check
This commit is contained in:
parent
8bca75abcf
commit
e336686ddb
@ -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
|
||||
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user