Skip to content

Commit 5119b0b

Browse files
committed
revert change of FiniteGP constructor from #236 to avoid breaking downstream packages
1 parent c126765 commit 5119b0b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "AbstractGPs"
22
uuid = "99985d1d-32ba-4be9-9821-2ec096f28918"
33
authors = ["JuliaGaussianProcesses Team"]
4-
version = "0.5.10"
4+
version = "0.5.11"
55

66
[deps]
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/finite_gp_projection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ end
1717
const default_σ² = 1e-18
1818

1919
function FiniteGP(f::AbstractGP, x::AbstractVector, σ²::Real=default_σ²)
20-
return FiniteGP(f, x, ScalMat(length(x), σ²))
20+
return FiniteGP(f, x, Fill(σ², length(x)))
2121
end
2222

2323
## conversions

0 commit comments

Comments
 (0)