From 0878fcaf9f70540a9c503202e9a48e6a89fb7b21 Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Fri, 12 Dec 2025 09:57:17 +0000 Subject: [PATCH] fix bounds message to get upper and lower bounds where appropriate instead of just upper --- process/scan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/process/scan.py b/process/scan.py index a5fe16bbdd..1729b68f90 100644 --- a/process/scan.py +++ b/process/scan.py @@ -388,12 +388,14 @@ def post_optimise(self, ifail: int): if numerics.xcm[i] < xminn: location, bound = "below", "lower" + bounds = numerics.itv_scaled_lower_bounds else: location, bound = "above", "upper" + bounds = numerics.itv_scaled_upper_bounds process_output.write( constants.NOUT, f" {name:<30}= {xcval} is at or {location} its {bound} bound:" - f" {numerics.itv_scaled_upper_bounds[i] * numerics.scafc[i]}", + f" {bounds[i] * numerics.scafc[i]}", ) # Write optimisation parameters to mfile