Skip to content

Commit

Permalink
revert change of FiniteGP constructor from #236 to avoid breaking dow…
Browse files Browse the repository at this point in the history
…nstream packages (#310)
  • Loading branch information
st-- authored Apr 1, 2022
1 parent c126765 commit 0440ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AbstractGPs"
uuid = "99985d1d-32ba-4be9-9821-2ec096f28918"
authors = ["JuliaGaussianProcesses Team"]
version = "0.5.10"
version = "0.5.11"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand Down
2 changes: 1 addition & 1 deletion src/finite_gp_projection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ end
const default_σ² = 1e-18

function FiniteGP(f::AbstractGP, x::AbstractVector, σ²::Real=default_σ²)
return FiniteGP(f, x, ScalMat(length(x), σ²))
return FiniteGP(f, x, Fill(σ², length(x)))
end

## conversions
Expand Down

3 comments on commit 0440ea6

@st--
Copy link
Member Author

@st-- st-- commented on 0440ea6 Apr 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rossviljoen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/57794

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.11 -m "<description of version>" 0440ea63799eb22f1829d79c0d50b3bdd9492165
git push origin v0.5.11

Please sign in to comment.