Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Dropping args[2] as it is no longer used (only using kwargs)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorgoggins committed Feb 24, 2020
1 parent 9cbf836 commit 850260a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions benchmark/opperf/utils/profiler_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,7 @@ def python_profile(func):
@functools.wraps(func)
def python_profile_it(*args, **kwargs):
runs = args[1]

if len(args) > 2:
modified_args = (args[0], 1, args[2])
else:
modified_args = (args[0], 1)

modified_args = (args[0], 1)
times = []

for _ in range(runs):
Expand Down

0 comments on commit 850260a

Please sign in to comment.