Skip to content

Commit

Permalink
nit: Float64->Number
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeoV committed Jul 17, 2024
1 parent a9f4e72 commit e4274e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KSVD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function ksvd(Y::AbstractMatrix{T}, n_atoms::Int, max_nnz=n_atoms÷10;
maxtime::Union{Nothing, <:Real}=nothing,# : The maximum time for solving the nonlinear system of equations. Defaults to nothing which means no time limit. Note that setting a time limit does have a small overhead.
abstol::Number=real(oneunit(T)) * (eps(real(one(T))))^(4 // 5), #: The absolute tolerance. Defaults to real(oneunit(T)) * (eps(real(one(T))))^(1 // 2).
reltol::Number=real(oneunit(T)) * (eps(real(one(T))))^(4 // 5), #: The relative tolerance. Defaults to real(oneunit(T)) * (eps(real(one(T))))^(1 // 2).
nnz_per_col_target::Float64=0.0,
nnz_per_col_target::Number=0.0,
# tracing options
show_trace::Bool=false,
# store_trace::Bool,
Expand Down

0 comments on commit e4274e2

Please sign in to comment.