Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed May 20, 2024
1 parent 7a22d58 commit 2a69918
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/benchmarks/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ def time_lazy(self):
cube.data = cube.lazy_data()

result = pearsonr(self.cube_a, self.cube_b, weights=self.weights)
result.data

@TrackAddedMemoryAllocation.decorator_repeating()
def track_lazy(self):
for cube in self.cube_a, self.cube_b:
cube.data = cube.lazy_data()

result = pearsonr(self.cube_a, self.cube_b, weights=self.weights)
result.data
result.data

0 comments on commit 2a69918

Please sign in to comment.