Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ProbNumDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ using DocStringExtensions
using Reexport
@reexport using DiffEqBase
import SciMLBase
import SciMLBase: WOperator # just to fix an Aqua.jl test
import SciMLBase: interpret_vars, getsyms, remake
using OrdinaryDiffEqCore,
OrdinaryDiffEqDifferentiation,
Expand Down
3 changes: 1 addition & 2 deletions src/callbacks/manifoldupdate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function manifoldupdate!(cache, residualf; maxiters=100, ϵ₁=1e-25, ϵ₂=1e-1
m_tmp, C_tmp = mean(x_tmp), cov(x_tmp)

m_i = copy(m)
local m_i_new, C_i_new
for i in 1:maxiters
u_i = mul!(tmp, SolProj, m_i)

Expand All @@ -40,7 +39,7 @@ function manifoldupdate!(cache, residualf; maxiters=100, ϵ₁=1e-25, ϵ₂=1e-1
m_i = m_i_new
end

copy!(cache.x, Gaussian(m_i_new, C_i_new))
copy!(cache.x, Gaussian(m_tmp, C_tmp))

return nothing
end
Expand Down
2 changes: 1 addition & 1 deletion src/priors/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Samples from the Gauss-Markov process on the given time grid.

See also: [`marginalize`](@ref).
"""
function sample(process::AbstractGaussMarkovProcess, times, N=1)
function sample(process::AbstractGaussMarkovProcess, times, N::Integer=1)
X = initial_distribution(process)
X = Gaussian(mean(X), Matrix(cov(X)))
s = rand(X, N)
Expand Down
Loading