Skip to content

Commit

Permalink
window.py -- copy bug
Browse files Browse the repository at this point in the history
would have been obvious. Caused immediate crash
  • Loading branch information
trmrsh committed May 19, 2021
1 parent 1fd673f commit 890eecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hipercam/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ def __sub__(self, other):

# carry out addition to a float type
data = self.data - num
return Window(super.copy(), data)
return Window(super().copy(), data)

def __rsub__(self, other):
"""Subtracts a :class:`Window` from `other` as `other - wind`. Here `other`
Expand Down

0 comments on commit 890eecb

Please sign in to comment.