From d67ffb38fc1418eea067fe584bccc94e733c0b8b Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Fri, 6 Sep 2024 17:43:06 -0500 Subject: [PATCH] var-propagation-speed: fix logging --- examples/wave/var-propagation-speed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wave/var-propagation-speed.py b/examples/wave/var-propagation-speed.py index 3bbfe19d..2709b69b 100644 --- a/examples/wave/var-propagation-speed.py +++ b/examples/wave/var-propagation-speed.py @@ -143,7 +143,7 @@ def norm(u): if step % 10 == 0: logger.info("step: %d t: %.8e L2: %.8e", step, time() - t_last_step, - norm(event.state_component[0])) + actx.to_numpy(norm(event.state_component[0]))) if visualize: vis.write_vtk_file( f"fld-var-propogation-speed-{step:04d}.vtu",