Skip to content

Commit

Permalink
chore: remove debugging code from previous commmit
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekundert committed Jun 21, 2020
1 parent 8162beb commit 69216a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vecrec/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ def accept_anything_as_vector(function):
"""
@wraps(function)
def decorator(*input):
def decorator(self, *input):
if len(input) == 1: input = input[0]
vector = cast_anything_to_vector(input)
return function(vector)
return function(self, vector)
return decorator

def accept_anything_as_rectangle(function):
Expand Down

0 comments on commit 69216a0

Please sign in to comment.