Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tknopp committed Oct 20, 2023
1 parent d48c0c6 commit 0f6ba62
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LinearOperatorCollection"
uuid = "a4a2c56f-fead-462a-a3ab-85921a5f2575"
authors = ["Tobias Knopp <[email protected]> and contributors"]
version = "1.1.0"
version = "1.1.1"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -26,7 +26,7 @@ julia = "1.9"
FFTW = "1.0"
LinearOperators = "2.3.3"
Reexport = "1.0"
Wavelets = "0.9"
Wavelets = "0.9, 0.10"
NFFT = "0.13"

[extras]
Expand Down
3 changes: 1 addition & 2 deletions ext/LinearOperatorFFTWExt/FFTOp.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export FFTOpImpl
import Base.copy

mutable struct FFTOpImpl{T} <: FFTOp{T}
nrow :: Int
Expand Down Expand Up @@ -92,5 +91,5 @@ end


function Base.copy(S::FFTOpImpl)
return FFTOpImpl(eltype(S), size(S.plan), S.shift, unitary=S.unitary)
return FFTOp(eltype(S); shape=size(S.plan), shift=S.shift, unitary=S.unitary)
end
1 change: 0 additions & 1 deletion ext/LinearOperatorNFFTExt/NFFTOp.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Base.adjoint

function LinearOperatorCollection.NFFTOp(::Type{T};
shape::Tuple, nodes::AbstractMatrix{U}, toeplitz=false, oversamplingFactor=1.25,
Expand Down
6 changes: 2 additions & 4 deletions src/LinearOperatorCollection.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
module LinearOperatorCollection

import Base: length, iterate, \
using LinearAlgebra
import LinearAlgebra.BLAS: gemv, gemv!
import LinearAlgebra: BlasFloat, normalize!, norm, rmul!, lmul!
using LinearAlgebra.BLAS: gemv, gemv!
using LinearAlgebra: BlasFloat, normalize!, norm, rmul!, lmul!
using SparseArrays
using Random
using InteractiveUtils

using Reexport
@reexport using Reexport
@reexport using LinearOperators

LinearOperators.use_prod5!(op::opEye) = false
Expand Down
2 changes: 1 addition & 1 deletion src/WeightingOp.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
WeightingOp(weights::Vector{T}, rep::Int=1) where T
WeightingOp(::Type{T}; weights::Vector{T}, rep::Int=1) where T
generates a `LinearOperator` which multiplies an input vector index-wise with `weights`
Expand Down

2 comments on commit 0f6ba62

@tknopp
Copy link
Member Author

@tknopp tknopp commented on 0f6ba62 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/93793

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.1 -m "<description of version>" 0f6ba62f32cbb4126249f0090ba303d268798707
git push origin v1.1.1

Please sign in to comment.