From a01e1fd959ca1a322dd02b0112322b19ca5395d9 Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Fri, 18 Jun 2021 14:28:27 -0500 Subject: [PATCH] spell out pt. in messages --- arraycontext/impl/pytato.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arraycontext/impl/pytato.py b/arraycontext/impl/pytato.py index 9509c0b..d406488 100644 --- a/arraycontext/impl/pytato.py +++ b/arraycontext/impl/pytato.py @@ -316,7 +316,7 @@ class PytatoExecutable: processed_ary = (self.actx.freeze(ary) .with_queue(self.actx.queue)) else: - raise TypeError("Expect pt.Array or CL-array, got " + raise TypeError("Expect pytato.Array or CL-array, got " f"{type(ary)}") input_kwargs_to_loopy[ @@ -423,7 +423,7 @@ class PytatoArrayContext(ArrayContext): if isinstance(array, cla.Array): return array.with_queue(None) if not isinstance(array, pt.Array): - raise TypeError("PytatoArrayContext.freeze invoked with non-pt " + raise TypeError("PytatoArrayContext.freeze invoked with non-pytato " f"array of type '{type(array)}'") prg = pt.generate_loopy(array, cl_device=self.queue.device) -- GitLab