From 4d0fe4dd96c6e3eaa1b183f83e1cd27012c6764b Mon Sep 17 00:00:00 2001 From: Alex Fikl <alexfikl@gmail.com> Date: Wed, 29 Sep 2021 20:08:16 -0500 Subject: [PATCH] add missing space in exception message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andreas Klöckner <inform@tiker.net> --- arraycontext/container/traversal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arraycontext/container/traversal.py b/arraycontext/container/traversal.py index 7270909..421e5a0 100644 --- a/arraycontext/container/traversal.py +++ b/arraycontext/container/traversal.py @@ -531,7 +531,7 @@ def flatten(ary: ArrayOrContainerT, actx: ArrayContext) -> Any: # NOTE: we can't do much if the array context fails to ravel, # since it is the one responsible for the actual memory layout if hasattr(subary, "strides"): - strides_msg = f"and strides {subary.strides}" + strides_msg = f" and strides {subary.strides}" else: strides_msg = "" -- GitLab