Rename error_size -> error_cost

This commit is contained in:
Max Brunsfeld 2016-08-30 10:58:25 -07:00
parent 52ccebbf80
commit 1d0f6c3cc0
4 changed files with 12 additions and 12 deletions

View file

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