Skip to content

Commit 4978e0b

Browse files
authored
Merge pull request #375 from ayushk7102/fix_converted_Dummy_return
Fix leading underscore in converted dummy name by slicing
2 parents 87ff2e5 + 9d2dc7a commit 4978e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ cdef class Dummy(Symbol):
12621262

12631263
def _sympy_(self):
12641264
import sympy
1265-
return sympy.Dummy(str(self))
1265+
return sympy.Dummy(str(self)[1:])
12661266

12671267
@property
12681268
def is_Dummy(self):

0 commit comments

Comments
 (0)