From 73008021aecc1b90d9b6428116eccf38234e8570 Mon Sep 17 00:00:00 2001 From: James Nightingale Date: Sat, 17 Oct 2026 10:44:06 -0700 Subject: [PATCH] docs: point to the HowToFit advanced chapter --- autofit/messages/truncated_normal.py | 2 +- test_autofit/graph_spec/graphical_doubles.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autofit/messages/truncated_normal.py b/autofit/messages/truncated_normal.py index a396464f3..82936783d 100644 --- a/autofit/messages/truncated_normal.py +++ b/autofit/messages/truncated_normal.py @@ -327,7 +327,7 @@ def kl(self, dist : "TruncatedNormalMessage") -> float: untruncated Gaussian KL. Previously this method *used* the untruncated formula, which degrades as posterior mass approaches the bounds — directly distorting the ``EPHistory`` convergence metric for models - built on ``af.TruncatedGaussianPrior`` (e.g. HowToFit chapter 3). + built on ``af.TruncatedGaussianPrior`` (e.g. the HowToFit advanced chapter). Parameters ---------- diff --git a/test_autofit/graph_spec/graphical_doubles.py b/test_autofit/graph_spec/graphical_doubles.py index 6b544223e..a1a165749 100644 --- a/test_autofit/graph_spec/graphical_doubles.py +++ b/test_autofit/graph_spec/graphical_doubles.py @@ -78,7 +78,7 @@ def relational_graph(): def hierarchical_graph(): """ Three *different* centres, each drawn from one parent ``GaussianPrior`` - whose own ``mean`` and ``sigma`` are free (HowToFit chapter 3, tutorial 4). + whose own ``mean`` and ``sigma`` are free (the HowToFit advanced chapter, tutorial 4). """ model_list = [dataset_model() for _ in range(3)]