Skip to content

Commit

Permalink
Merge pull request #673 from gsomix/buffer_protocol
Browse files Browse the repository at this point in the history
Fixed example for old version numpy
  • Loading branch information
lisitsyn committed Jul 24, 2012
2 parents 497cd01 + d0a0875 commit 9458ec7
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -52,9 +52,6 @@ def features_dense_real_modular(in_data=data):
f_real[:,0]=0
print f_real.get_feature_matrix()

f_real[:,0]=(f_real+m_real)[:,0]
print f_real.get_feature_matrix()

if numpy.__version__ >= '1.5':
f_real+=m_real
f_real*=m_real
Expand Down

0 comments on commit 9458ec7

Please sign in to comment.