Skip to content

Commit

Permalink
use S(0) instead of Zero
Browse files Browse the repository at this point in the history
  • Loading branch information
latot committed Sep 1, 2016
1 parent 39c8314 commit 91684d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/@sym/diff.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
'args = _ins[1:]'
'd = list(f.free_symbols)'
'if len(d) == 0:'
' return sympy.Zero,'
' return sympy.S(0),'
'if len(args) == 0:'
' if len(d) > 1:'
' return ("NO_DEV_VAR"),'
Expand Down

0 comments on commit 91684d7

Please sign in to comment.