This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -855,9 +855,10 @@ def is_trivial_zero(self):
855855 curr = self ._calc_method ._current
856856 return self ._calc_method .is_trivial_zero (self .expr (curr ))
857857
858+ # TODO: Remove this method as soon as ticket #28629 is solved?
858859 def is_unit (self ):
859860 r"""
860- Return ``True`` iff ``self`` is not identically zero since most chart
861+ Return ``True`` iff ``self`` is not trivially zero since most chart
861862 functions are invertible and an actual computation would take too much
862863 time.
863864
@@ -873,7 +874,7 @@ def is_unit(self):
873874 False
874875
875876 """
876- return not self .is_zero ()
877+ return not self .is_trivial_zero ()
877878
878879 def copy (self ):
879880 r"""
Original file line number Diff line number Diff line change @@ -1203,6 +1203,7 @@ def is_trivial_zero(self):
12031203 return True
12041204 return all (func .is_trivial_zero () for func in self ._express .values ())
12051205
1206+ # TODO: Remove this method as soon as ticket #28629 is solved?
12061207 def is_unit (self ):
12071208 r"""
12081209 Return ``True`` iff ``self`` is not trivially zero in at least one of
You can’t perform that action at this time.
0 commit comments