Skip to content

Commit 185a4c5

Browse files
committed
test that mutable returns mutable
1 parent ded8a6c commit 185a4c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ cdef class Basic(object):
930930
if (len(f) != 1):
931931
raise RuntimeError("Variable w.r.t should be given")
932932
return self._diff(f.pop())
933-
return diff(self, *args)
933+
return _diff(self, *args)
934934

935935
def subs_dict(Basic self not None, *args):
936936
warnings.warn("subs_dict() is deprecated. Use subs() instead", DeprecationWarning)
@@ -3687,7 +3687,7 @@ cdef class DenseMatrixBase(MatrixBase):
36873687
return R
36883688

36893689
def diff(self, *args):
3690-
return diff(self, *args)
3690+
return _diff(self, *args)
36913691

36923692
#TODO: implement this in C++
36933693
def subs(self, *args):

0 commit comments

Comments
 (0)