Rename error_size -> error_cost
This commit is contained in:
parent
52ccebbf80
commit
1d0f6c3cc0
4 changed files with 12 additions and 12 deletions
|
|
@ -117,7 +117,7 @@ static StackNode *stack_node_new(StackNode *next, TSTree *tree, bool is_pending,
|
|||
node->error_cost += 1 + tree->padding.rows + tree->size.rows;
|
||||
}
|
||||
} else {
|
||||
node->error_cost += tree->error_size;
|
||||
node->error_cost += tree->error_cost;
|
||||
}
|
||||
} else {
|
||||
node->error_cost++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue