Skip to content

Commit

Permalink
Merge branch 'master' into gpuStates
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel committed Jul 4, 2024
2 parents 44c7c96 + af272fb commit fcc118c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RegularizedLeastSquares"
uuid = "1e9c538a-f78c-5de5-8ffb-0b6dbe892d23"
authors = ["Tobias Knopp <[email protected]>"]
version = "0.15.1-DEV"
version = "0.15.2-DEV"

[deps]
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Expand Down Expand Up @@ -29,12 +29,13 @@ JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb"
IterativeSolvers = "0.9"
julia = "1.9"
StatsBase = "0.33, 0.34"
VectorizationBase = "0.19, 0.21"
FFTW = "1.0"
FLoops = "0.2"
GPUArrays = "8, 9, 10"
VectorizationBase = "0.19, 0.21"
JLArrays = "0.1.2"
LinearOperatorCollection = "2.0"
LinearOperatorCollection = "2"
LinearOperators = "2.3.3"

[targets]
Expand Down
4 changes: 2 additions & 2 deletions src/proximalMaps/ProxLLR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ end
"""
norm(reg::LLRRegularization, x, λ)
returns the value of the LLR-regularization term. The norm is only implemented for 2D, non-fully overlapping blocks.
returns the value of the LLR-regularization term. The norm is only implemented for 2D, non-fully overlapping blocks.
"""
function norm(reg::LLRRegularization, x::Union{AbstractArray{T}, AbstractArray{Complex{T}}}, λ::T) where {T <: Real}
shape = reg.shape
Expand Down Expand Up @@ -173,7 +173,7 @@ performs the proximal map for LLR regularization using singular-value-thresholdi
function proxLLROverlapping!(reg::LLRRegularization{TR, N, TI}, x::Union{AbstractArray{T}, AbstractArray{Complex{T}}}, λ::T) where {TR, N, TI, T}
shape = reg.shape
blockSize = reg.blockSize

x = reshape(x, tuple(shape..., length(x) ÷ prod(shape)))

block_idx = CartesianIndices(blockSize)
Expand Down

0 comments on commit fcc118c

Please sign in to comment.