Skip to content

Commit

Permalink
now the point27 benchmark uses true division in Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Feb 9, 2018
1 parent 90629db commit c947066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchpress/benchmarks/point27/python_numpy/point27.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def point27_init(size):
"""TODO: Describe the data generated by this function."""

data = np.zeros((size,size,size))
mid = size/2
mid = size//2
data[mid-8:mid+8, mid-8:mid+8] = 100.0

return data
Expand Down

0 comments on commit c947066

Please sign in to comment.