forked from BioJulia/BioSequences.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in zero_offset! called when materializing seqview (BioJulia#261)
When materializing a seqview, a slice of the underlying buffer is copied directly, for efficiency. Since the bytes may be placed in the buffer with a nonzero offset, the optimised zero_offset! is called. However, a bug in zero_offset! meant that it did not behave correctly when the offset was already zero.
- Loading branch information
1 parent
db8a692
commit 1cfea08
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "BioSequences" | ||
uuid = "7e6ae17a-c86d-528c-b3b9-7f778a29fe59" | ||
authors = ["Sabrina Jaye Ward <[email protected]>", "Jakob Nissen <[email protected]>"] | ||
version = "3.1.1" | ||
version = "3.1.2" | ||
|
||
[deps] | ||
BioSymbols = "3c28c6f8-a34d-59c4-9654-267d177fcfa9" | ||
|
This file contains 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
This file contains 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