Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StridedViews"
uuid = "4db3bf67-4bd7-4b4e-b153-31dc3fb37143"
authors = ["Lukas Devos <lukas.devos@ugent.be>", "Jutho Haegeman <jutho.haegeman@ugent.be>"]
version = "0.5.7"
version = "0.5.8"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
2 changes: 1 addition & 1 deletion src/auxiliary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ _computereshapestrides(newsize::Tuple{}, oldsize::Dims, strides::Dims) = ()
_computereshapestrides(newsize::Dims, oldsize::Tuple{}, strides::Tuple{}) = newsize
function _computereshapestrides(newsize::Dims, oldsize::Dims{N}, strides::Dims{N}) where {N}
d, r = divrem(oldsize[1], newsize[1])
return if r == 0
if r == 0
s1 = strides[1]
if d == 1
# not shrinking the following tuples helps type inference
Expand Down
Loading