Skip to content

Commit

Permalink
Minor change to line-continuation in mpi_array.benchmarks.bench_ufunc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane-J-Latham committed Nov 15, 2017
1 parent d1b279e commit 6a6c707
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions mpi_array/benchmarks/bench_ufunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,16 @@ def initialise_arrays(self, shape):

self.a_ary.rank_view_n[...] = \
random_state.uniform(
low=self.a_ary_range[0], high=self.a_ary_range[1], size=self.a_ary.rank_view_n.shape
low=self.a_ary_range[0],
high=self.a_ary_range[1],
size=self.a_ary.rank_view_n.shape
).astype(self.dtype)

self.b_ary.rank_view_n[...] = \
random_state.uniform(
low=self.b_ary_range[0], high=self.b_ary_range[1], size=self.b_ary.rank_view_n.shape
low=self.b_ary_range[0],
high=self.b_ary_range[1],
size=self.b_ary.rank_view_n.shape
).astype(self.dtype)

self.b_scalar = \
Expand Down

0 comments on commit 6a6c707

Please sign in to comment.