From 540db419f0ccddb0368443049492b6c0448fe273 Mon Sep 17 00:00:00 2001 From: Junpeng Lao Date: Fri, 8 Dec 2023 07:16:08 +0100 Subject: [PATCH] Docstring fix (#613) --- blackjax/smc/base.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/blackjax/smc/base.py b/blackjax/smc/base.py index 93d3cf017..409f588d2 100644 --- a/blackjax/smc/base.py +++ b/blackjax/smc/base.py @@ -26,16 +26,16 @@ class SMCState(NamedTuple): being an array of size `(n_particles, ...)`. Examples (three particles): - - Single univariate posterior: - [ Array([[1.], [1.2], [3.4]]) ] - - Single bivariate posterior: - [ Array([[1,2], [3,4], [5,6]]) ] - - Two variables, each univariate: - [ Array([[1.], [1.2], [3.4]]), - Array([[50.], [51], [55]]) ] - - Two variables, first one bivariate, second one 4-variate: - [ Array([[1., 2.], [1.2, 0.5], [3.4, 50]]), - Array([[50., 51., 52., 51], [51., 52., 52. ,54.], [55., 60, 60, 70]]) ] + - Single univariate posterior: + [ Array([[1.], [1.2], [3.4]]) ] + - Single bivariate posterior: + [ Array([[1,2], [3,4], [5,6]]) ] + - Two variables, each univariate: + [ Array([[1.], [1.2], [3.4]]), + Array([[50.], [51], [55]]) ] + - Two variables, first one bivariate, second one 4-variate: + [ Array([[1., 2.], [1.2, 0.5], [3.4, 50]]), + Array([[50., 51., 52., 51], [51., 52., 52. ,54.], [55., 60, 60, 70]]) ] """ particles: ArrayTree