Skip to content

Fix issue with pareto_khat output no longer being a list#269

Merged
andrjohns merged 1 commit intostan-dev:masterfrom
n-kall:pareto_k_fix
May 20, 2024
Merged

Fix issue with pareto_khat output no longer being a list#269
andrjohns merged 1 commit intostan-dev:masterfrom
n-kall:pareto_k_fix

Conversation

@n-kall
Copy link
Contributor

@n-kall n-kall commented May 20, 2024

The current github version of posterior now returns an unnamed numeric from pareto_khat. This PR should add compatibility for this, with a check that if the output is a list, it will take the khat element instead to retain compatibility with older posterior versions.

ping @avehtari

@avehtari
Copy link
Member

Looks good

@andrjohns andrjohns merged commit 6f690c1 into stan-dev:master May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants