Skip to content

Commit

Permalink
fix wavelet operator
Browse files Browse the repository at this point in the history
  • Loading branch information
tknopp committed Apr 3, 2019
1 parent 90274f9 commit 5090029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linearOperators/WaveletOp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mutable struct WaveletOp{T,F1<:FuncOrNothing,F2<:FuncOrNothing,F3<:FuncOrNothing
end

function WaveletOp(shape, wt=wavelet(WT.db2))
return WaveletOp(maximum(shape)^2, prod(shape), false, false
return WaveletOp{Float64,Function,Nothing,Function}(maximum(shape)^2, prod(shape), false, false
, x->waveletProd(x,shape,wt)
, nothing
, y->waveletCTProd(y,shape,wt) )
Expand Down

0 comments on commit 5090029

Please sign in to comment.