Skip to content

Commit

Permalink
JuliaFormatter.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Jan 16, 2024
1 parent c460266 commit 9e64ee0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
23 changes: 12 additions & 11 deletions ext/RecipesBaseExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,18 @@ import SciMLBase: interpret_vars, getsyms
end
end

ith(i) = if i == 0
"0th"
elseif i == 1
"1st"
elseif i == 2
"2nd"
elseif i == 3
"3rd"
else
"$(i)th"
end
ith(i) =

Check warning on line 75 in ext/RecipesBaseExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/RecipesBaseExt.jl#L75

Added line #L75 was not covered by tests
if i == 0
"0th"
elseif i == 1
"1st"
elseif i == 2
"2nd"
elseif i == 3
"3rd"

Check warning on line 83 in ext/RecipesBaseExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/RecipesBaseExt.jl#L77-L83

Added lines #L77 - L83 were not covered by tests
else
"$(i)th"

Check warning on line 85 in ext/RecipesBaseExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/RecipesBaseExt.jl#L85

Added line #L85 was not covered by tests
end

@recipe function f(

Check warning on line 88 in ext/RecipesBaseExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/RecipesBaseExt.jl#L88

Added line #L88 was not covered by tests
process::ProbNumDiffEq.AbstractGaussMarkovProcess,
Expand Down
1 change: 0 additions & 1 deletion src/priors/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ Samples from the Gauss-Markov process on the given time grid.
See also: [`marginalize`](@ref).
"""
function sample(process::AbstractGaussMarkovProcess, times, N=1)

out = []
X = initial_distribution(process)
X = Gaussian(mean(X), Matrix(cov(X)))
Expand Down

0 comments on commit 9e64ee0

Please sign in to comment.