Skip to content

Commit

Permalink
Make mu generation type-inferrable (#28)
Browse files Browse the repository at this point in the history
* Make mu generation type-inferrable

* Increment version number
  • Loading branch information
sethaxen authored Feb 8, 2022
1 parent a9a72a3 commit 50c2f21
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 = "Pathfinder"
uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454"
authors = ["Seth Axen <[email protected]> and contributors"]
version = "0.3.1"
version = "0.3.2"

[deps]
AbstractDifferentiation = "c29ec348-61ec-40c8-8164-b8c60e9d9f3d"
Expand Down
2 changes: 1 addition & 1 deletion src/mvnormal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ point are returned.
function fit_mvnormals(θs, ∇logpθs; kwargs...)
Σs = lbfgs_inverse_hessians(θs, ∇logpθs; kwargs...)
l = length(Σs)
μs = @views muladd.(Σs, ∇logpθs[1:l], θs[1:l])
μs = @views map(muladd, Σs, ∇logpθs[1:l], θs[1:l])
return Distributions.MvNormal.(μs, Σs)
end

Expand Down

2 comments on commit 50c2f21

@sethaxen
Copy link
Member Author

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/54169

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.3.2 -m "<description of version>" 50c2f211c336f1ff0c933204276d64f0582aa2c0
git push origin v0.3.2

Please sign in to comment.