[PATCH] export isl_aff_get_constant_val to templated interface

0 views
Skip to first unread message

skim...@kotnet.org

unread,
Aug 29, 2021, 2:02:44 PMAug 29
to isl-dev...@googlegroups.com
From: Sven Verdoolaege <sven.ver...@gmail.com>

Do this for consistency with isl_multi_aff_get_constant_multi_val.
It is not clear why the export was restricted to
isl_multi_aff_get_constant_multi_val in
isl-0.23-214-gd0ef6a1546 (introduce templated C++ interface,
Thu Oct 8 11:26:21 2020 +0200).

Signed-off-by: Sven Verdoolaege <sven.ver...@gmail.com>
---
interface/template_cpp.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/template_cpp.cc b/interface/template_cpp.cc
index 70549286ce..d58113c011 100644
--- a/interface/template_cpp.cc
+++ b/interface/template_cpp.cc
@@ -779,7 +779,7 @@ member_methods {
{ "ceil", fn_un_op },
{ "coalesce", un_op },
{ "cond", fn_ter_op },
- { "constant_multi_val", range_op },
+ { "constant", range_op },
{ "curry", { curry } },
{ "deltas", { transformation_domain } },
{ "detect_equalities", un_op },
--
2.25.1

Reply all
Reply to author
Forward
0 new messages