Skip to content

Commit 6af893e

Browse files
committed
Basic attribute copy()
1 parent 02c3944 commit 6af893e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,9 @@ cdef class Basic(object):
885885
def is_Matrix(self):
886886
return False
887887

888+
def copy(self):
889+
return self.func(*self.args)
890+
888891
def _symbolic_(self, ring):
889892
return ring(self._sage_())
890893

0 commit comments

Comments
 (0)