From 7a3224be3dc9c5ab2ecd4d1e656d6982080e957e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 13 Jun 2013 23:07:11 -0400 Subject: [PATCH] Improve an error message in SeparateArrayPackingController --- loopy/compiled.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/compiled.py b/loopy/compiled.py index e2746b381..c1a977c57 100644 --- a/loopy/compiled.py +++ b/loopy/compiled.py @@ -73,7 +73,7 @@ class SeparateArrayPackingController(object): for shape_i, dim_tag in zip(arg.shape, arg.dim_tags): if isinstance(dim_tag, SeparateArrayArrayDimTag): if not isinstance(shape_i, int): - raise TypeError("argument '%s' has non-integer " + raise TypeError("argument '%s' has non-fixed-size " "separate-array axis" % arg.name) sep_shape.append(shape_i) -- GitLab