Skip to content

Commit

Permalink
Update src/approximations/nystrom.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
st-- and github-actions[bot] authored Jan 27, 2022
1 parent c34a4ba commit 6d99f21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/approximations/nystrom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ function nystrom(k::Kernel, X::AbstractVector, r::Real)
return nystrom(k, X, S)
end

function nystrom(k::Kernel, X::AbstractMatrix, S::AbstractVector{<:Integer}; obsdim::Int=defaultobs)
function nystrom(
k::Kernel, X::AbstractMatrix, S::AbstractVector{<:Integer}; obsdim::Int=defaultobs
)
return nystrom(k, vec_of_vecs(X; obsdim=obsdim), S)
end

Expand Down

0 comments on commit 6d99f21

Please sign in to comment.