fix Sub/Div swap / fix wrong order for prefix/lisp display

This commit is contained in:
2021-01-25 17:36:40 +01:00
parent add6d02749
commit 5bd19cbe22
4 changed files with 33 additions and 34 deletions

2
best.c
View File

@@ -61,7 +61,7 @@ int check_best(res, nops, node, values, ops)
nbests=0;
found=1;
//return 1;
}/* else if (diff == bestdiff && nops == bestops) {
} /*else if (diff == bestdiff && nops == bestops) {
# ifdef DEBUG_BEST
printf("NEW BEST SOLUTION (%d): res=%d diff=%d nops=%d\n", nbests+1, res, diff, nops);
print_node(node, TREE_TOP, 0, 0);