Skip to content

Commit

Permalink
Merge pull request scikit-learn#1556 from larsmans/cython-cleanup
Browse files Browse the repository at this point in the history
MRG clean up Cython and C code
  • Loading branch information
larsmans committed Jan 10, 2013
2 parents 0e5bb0c + 37c1d09 commit 2694e50
Show file tree
Hide file tree
Showing 44 changed files with 25,904 additions and 20,220 deletions.
4,090 changes: 2,429 additions & 1,661 deletions sklearn/_hmmc.c

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions sklearn/_hmmc.pyx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from libc.math cimport exp, log
import numpy as np
cimport numpy as np
cimport cython

cdef extern from "math.h":
double exp(double)
double log(double)
np.import_array()

ctypedef np.float64_t dtype_t

Expand Down
Loading

0 comments on commit 2694e50

Please sign in to comment.