Permalink
Browse files

Fix typo: change np to numpy

  • Loading branch information...
1 parent bff4347 commit a4b8e866b95ade9cd4ace55d471e7645ffdf4236 @hexahedria committed Aug 15, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.py
View
@@ -15,7 +15,7 @@ def gen_adaptive(m,pcs,times,keep_thoughts=False,name="final"):
cons = 1
for time in range(multi_training.batch_len*times):
resdata = m.slow_walk_fun( cons )
- nnotes = np.sum(resdata[-1][:,0])
+ nnotes = numpy.sum(resdata[-1][:,0])
if nnotes < 2:
if cons > 1:
cons = 1

0 comments on commit a4b8e86

Please sign in to comment.