Skip to content

Commit

Permalink
Fix regression in octocorner
Browse files Browse the repository at this point in the history
  • Loading branch information
sefffal committed Mar 7, 2024
1 parent f3c21b3 commit 60594e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/OctofitterPairPlotsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ using MCMCChains

unitlengthprior_vars(::Octofitter.UnitLengthPrior{VX,VY}) where {VX, VY} = (VX, VY)

Octofitter.octocorner(
model::Octofitter.LogDensityModel,
chains::MCMCChains.Chains...;
kwargs...
) = octocorner(model.system, chains...; kwargs...)
function Octofitter.octocorner(
system::System,
chains...;
chains::MCMCChains.Chains...;
small=false,
labels=Dict{Symbol,Any}(),
fname=small ? "$(system.name)-pairplot-small.png" : "$(system.name)-pairplot.png" ,
Expand Down

0 comments on commit 60594e8

Please sign in to comment.