Skip to content

Commit

Permalink
updated the alain counterexample
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Mar 4, 2016
1 parent bb5a6f4 commit 115e46b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def main():
U.start()
for _ in xrange(I):
A = np.ones_like(T)
A.strides = (0,)#Scalar view
B = A + 43
C = B + T + np.gather(S,R) + A
D = B[::-1] + np.gather(S,R)
B = np.empty(len(T)+1,dtype=T.dtype)
B[1:] = A
C = B[1:] + T + np.gather(S,R) + A
D = B[:-1] + np.gather(S,R)
E = D + T + C
del A
U.flush()
Expand Down

0 comments on commit 115e46b

Please sign in to comment.