benchmark/scripts/SCIPY/ssyrk.py: Fix PEP8 issues.

This commit is contained in:
John Kirkham 2016-01-19 15:06:17 -05:00
parent cbb6649e97
commit adfa0ab878
1 changed files with 36 additions and 37 deletions

View File

@ -8,12 +8,12 @@ from numpy import zeros
from numpy.random import randn
from scipy.linalg import blas
def run_ssyrk(N, l):
A = randn(N, N).astype('float32')
C = zeros((N, N), dtype='float32')
start = time.time()
for i in range(0, l):
C[...] = blas.ssyrk(1.0, A)
@ -56,4 +56,3 @@ if __name__ == "__main__":
for i in range(N, NMAX + NINC, NINC):
run_ssyrk(i, LOOPS)