Open
Conversation
Co-authored-by: slyo <sean.lyo@outlook.com>
Pull Request Test Coverage Report for Build 5550351717
💛 - Coveralls |
dlaehnemann
reviewed
Jul 17, 2023
| } | ||
| AlignmentOperation::Xclip(len) => { | ||
| for k in x.iter().take(len) { | ||
| for k in x.iter().skip(x_i).take(len) { |
Member
There was a problem hiding this comment.
Are you sure this doesn't break non-Custom Alignments? Or maybe to be clearer, is there either (i) a test case that also covers this for for some non-custom Alignment? I could imagine, that the special casing further up is the actual problem? But you dug into this code in more detail, so are probably more confident in answering those question.
Member
Contributor
Author
There was a problem hiding this comment.
Sorry for the delay- I'll need more time to flesh out the test cases so feel free to move ahead with the release
Member
There was a problem hiding this comment.
Just a quick ping to see if there is any planned activity, here. If so, feel free to update the branch, first.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #47.
Thanks @kwuiee, what you identified definitely looks like a bug to me. When running your test:
on the existing code it fails, producing the following output:
Clearly there is a bug because the
leftsequence is wrong (terminal T where it should be C).I've incorporated your test and fix in this PR.