◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
2 changes: 1 addition & 1 deletion quantities/quantity.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def nanargmin(self,axis=None, out=None):
def nanargmax(self,axis=None, out=None):
return np.nanargmax(self.magnitude)

@with_doc(np.ndarray.ptp)
def ptp(self, axis=None, out=None):
ret = np.ptp(self.magnitude, axis, None if out is None else out.magnitude)
dim = self.dimensionality
Expand Down
Loading
Toggle all file notes Toggle all file annotations