Skip to content

Commit

Permalink
alain counterexample: added a manual scalar view
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Mar 1, 2016
1 parent 8f9157a commit bb5a6f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ 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)
Expand Down

0 comments on commit bb5a6f4

Please sign in to comment.