Skip to content

Commit

Permalink
Merge pull request #375 from ayushk7102/fix_converted_Dummy_return
Browse files Browse the repository at this point in the history
Fix leading underscore in converted dummy name by slicing
  • Loading branch information
isuruf authored Oct 18, 2021
2 parents 87ff2e5 + 9d2dc7a commit 4978e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symengine/lib/symengine_wrapper.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4978e0b

Please # to comment.