From 9d2dc7ad7b52a5d88681faf76a04913ef6cf07d7 Mon Sep 17 00:00:00 2001 From: Ayush Kumar Date: Thu, 14 Oct 2021 15:20:18 +0530 Subject: [PATCH] Fix leading underscore in converted dummy name by slicing --- symengine/lib/symengine_wrapper.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symengine/lib/symengine_wrapper.pyx b/symengine/lib/symengine_wrapper.pyx index f9e5d3c6..2a1dff70 100644 --- a/symengine/lib/symengine_wrapper.pyx +++ b/symengine/lib/symengine_wrapper.pyx @@ -1262,7 +1262,7 @@ cdef class Dummy(Symbol): def _sympy_(self): import sympy - return sympy.Dummy(str(self)) + return sympy.Dummy(str(self)[1:]) @property def is_Dummy(self):