Skip to content

Commit

Permalink
Fix typo: change np to numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldjohnson committed Aug 15, 2015
1 parent bff4347 commit a4b8e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Expand Up @@ -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
Expand Down

0 comments on commit a4b8e86

Please sign in to comment.