Skip to content

Commit

Permalink
perf(SingleTask): remove no-effect-__getitem__ call
Browse files Browse the repository at this point in the history
  • Loading branch information
nritsche authored and jrs65 committed Apr 20, 2021
1 parent 8cf7b69 commit 63e68d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion draco/core/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ def _nan_check_walk(self, cont):
try:
is_nan = np.isnan(arr)
is_inf = np.isinf(arr)
arr = n[:]
except TypeError:
continue

Expand Down

0 comments on commit 63e68d4

Please sign in to comment.