From e556e2f00144fc7379017743d3ac0847f48a7b9c Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 19 Sep 2019 21:54:29 -0500 Subject: [PATCH 1/2] Fix isl_ast_expr_op_type typo in gen_wrap enum key --- gen_wrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_wrap.py b/gen_wrap.py index 5769963..f6a1019 100644 --- a/gen_wrap.py +++ b/gen_wrap.py @@ -242,7 +242,7 @@ ENUMS = { """, # ast_type.h - "isl_ast_op_type": """ + "isl_ast_expr_op_type": """ isl_ast_op_error, isl_ast_op_and, isl_ast_op_and_then, @@ -332,7 +332,7 @@ ENUMS = { "isl_schedule_algorithm": """ ISL_SCHEDULE_ALGORITHM_ISL, ISL_SCHEDULE_ALGORITHM_FEAUTRIER, - """ + """, } TYPEDEFD_ENUMS = ["isl_stat", "isl_bool"] -- GitLab From 16d39fd33e9d56af7ab8b5629193b48bc3aa19f8 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 19 Sep 2019 22:33:07 -0500 Subject: [PATCH 2/2] Fix isl_ast_expr_op_type typo in __init__ --- islpy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/islpy/__init__.py b/islpy/__init__.py index 21ef797..d5dd79a 100644 --- a/islpy/__init__.py +++ b/islpy/__init__.py @@ -100,7 +100,7 @@ error = _isl.error stat = _isl.stat dim_type = _isl.dim_type schedule_node_type = _isl.schedule_node_type -ast_op_type = _isl.ast_op_type +ast_expr_op_type = _isl.ast_expr_op_type ast_expr_type = _isl.ast_expr_type ast_node_type = _isl.ast_node_type ast_loop_type = _isl.ast_loop_type -- GitLab