quinngroup / dr1dl-pyspark

Dictionary Learning in PySpark
Apache License 2.0
1 stars 1 forks source link

Replace numpy.copyto with equality #40

Closed magsol closed 8 years ago

magsol commented 8 years ago

Line 118: rather than invoke a O(n) array copy routine, just update the pointer to u_old:

u_old = u_new

MOJTABAFA commented 8 years ago

It's done! thanks.