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 671bbcd commit 2b1331dCopy full SHA for 2b1331d
src/SamplingOp.jl
@@ -30,7 +30,7 @@ indicated by pattern.
30
"""
31
function SamplingOpImpl(T::Type{<:Number}, pattern::AbstractArray{Int}, shape::Tuple; S = Vector{T})
32
ndims(pattern)>1 ? idx = vectorizePattern(pattern, shape) : idx = pattern
33
- return opRestriction(idx, prod(shape), S = S)
+ return opRestriction(idx, prod(shape); S = S)
34
end
35
36
function SamplingOpImpl(T::Type{<:Number}, pattern::AbstractArray{Bool}; S = Vector{T})
0 commit comments