We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b7b7b commit 504bc69Copy full SHA for 504bc69
src/SplitCode.h
@@ -2257,7 +2257,7 @@ struct SplitCode {
2257
if (updated_name_id != name_id_curr) {
2258
return false; // multiple tags of different names
2259
}
2260
- if (updated_error >= error_prev) { // Choose smallest error first when deciding if to update to larger k
+ if (true /* updated_error >= error_prev */) { // Edit: Always update to larger k if tags have same name (regardless of mismatch error)
2261
updated_tag_id = tag_id_curr;
2262
updated_k = curr_k; // Update to larger k
2263
updated_error = error_prev;
0 commit comments