Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion process/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down