From f0d233cd360a627484d9c291fa60974e78a6fd8e Mon Sep 17 00:00:00 2001 From: Valentin Pratz Date: Sun, 27 Jul 2025 12:11:20 +0000 Subject: [PATCH] Fix broken link to point estimation example The example currently does not show up in the doc due to the wrong link. Fix section header in PositiveDefinite docstring. --- bayesflow/links/positive_definite.py | 4 ++-- docsrc/source/examples.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bayesflow/links/positive_definite.py b/bayesflow/links/positive_definite.py index 4037da18c..5eab934af 100644 --- a/bayesflow/links/positive_definite.py +++ b/bayesflow/links/positive_definite.py @@ -43,8 +43,8 @@ def compute_input_shape(self, output_shape): There are m nonzero elements of a lower triangular nxn matrix with m = n * (n + 1) / 2. - Example - ------- + Examples + -------- >>> PositiveDefinite().compute_output_shape((None, 3, 3)) 6 """ diff --git a/docsrc/source/examples.rst b/docsrc/source/examples.rst index 601a24471..e1c600795 100644 --- a/docsrc/source/examples.rst +++ b/docsrc/source/examples.rst @@ -17,6 +17,6 @@ The corresponding Jupyter Notebooks are available :mainbranch:`here ` _examples/Bayesian_Experimental_Design.ipynb _examples/From_ABC_to_BayesFlow.ipynb _examples/One_Sample_TTest.ipynb - _examples/Lotka_Volterra_Point_Estimation_and_Expert_Stats.ipynb + _examples/Lotka_Volterra_Point_Estimation.ipynb _examples/Likelihood_Estimation.ipynb _examples/Multimodal_Data.ipynb