Skip to content

Commit

Permalink
Adapt to changes in BAT.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
lmh91 committed Nov 28, 2021
1 parent e324232 commit a809db1
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
Expand Up @@ -35,7 +35,7 @@ SpecialFunctions = "1, 2"
StaticArrays = "1"
StaticUnivariatePolynomials = "0.6"
StatsBase = "0.33"
ValueShapes = "0.9"
ValueShapes = "0.9, 0.10"
julia = "1.6"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/BAT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ function bat_fit(UvD::Type{<:UvSpectrumDensity}, h::Histogram{<:Any, 1};
)
).result
)
return UvD(mode(bat_samples)[1]), bat_samples
return UvD(mode(bat_samples)), bat_samples
end

0 comments on commit a809db1

Please sign in to comment.