From 2d57d7a8baf9ef6912dba92b518ec2b9c040f26d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 6 Mar 2024 14:25:28 +0100 Subject: test/critter: remove another accidental debug statement --- test/critter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/critter.cpp b/test/critter.cpp index 64388140..5a8ba224 100644 --- a/test/critter.cpp +++ b/test/critter.cpp @@ -192,7 +192,8 @@ bool run(world& w, const function_view& make_dt, } if (i > max_steps) [[unlikely]] { - print_pos("*", start.pt, last_pos, time, dt, npc); + if (!start.quiet) [[unlikely]] + print_pos("*", start.pt, last_pos, time, dt, npc); Error{standard_error()} << "!!! fatal: position doesn't converge after" << i << "iterations!"; return fail(__FILE__, __LINE__); } -- cgit v1.2.3