summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-06 14:25:28 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-06 14:25:28 +0100
commit2d57d7a8baf9ef6912dba92b518ec2b9c040f26d (patch)
treeea32baf4a5295f198ddd629fc1abc6b738434a7a /test
parent86ab92f5935e28bca5d053b4c2bd5d359b75b26e (diff)
test/critter: remove another accidental debug statement
Diffstat (limited to 'test')
-rw-r--r--test/critter.cpp3
1 files changed, 2 insertions, 1 deletions
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<Ns() const>& 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__);
}