Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
FIX windows failures: memory wasn't zeroed :-o
Browse files Browse the repository at this point in the history
  • Loading branch information
vene committed Aug 1, 2016
1 parent 8f4577f commit f004fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polylearn/cd_direct_fast.pyx
Expand Up @@ -64,7 +64,7 @@ cdef inline double _update(int* indices,

cdef Py_ssize_t i, ii

cdef double inv_step_size
cdef double inv_step_size = 0

cdef double grad_y
cdef double update = 0
Expand Down Expand Up @@ -208,4 +208,4 @@ def _cd_direct_ho(double[:, :, ::1] P,
if degree == 3:
free(d2)

return converged
return converged

0 comments on commit f004fed

Please sign in to comment.