Skip to content

Commit 0c6ed22

Browse files
Improve readability of skip warning messages
Add a newline before skip warnings to ensure they appear cleanly separated from progress bar output, making them much easier to read. Before: Skip warnings were mixed inline with progress bar After: Skip warnings appear on clean new lines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent c6143df commit 0c6ed22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/LinearSolveAutotune/src/benchmarking.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ function benchmark_algorithms(matrix_sizes, algorithms, alg_names, eltypes;
148148
if haskey(blocked_algorithms[string(eltype)], name)
149149
max_allowed_size = blocked_algorithms[string(eltype)][name]
150150
if n > max_allowed_size
151+
# Clear progress line and show warning on new line
152+
println() # Ensure we're on a new line
151153
@warn "Algorithm $name skipped for size $n (exceeded maxtime on size $max_allowed_size matrix)"
152154
# Still need to update progress bar
153155
ProgressMeter.next!(progress)

0 commit comments

Comments
 (0)