Skip to content

Commit

Permalink
Update pypitch to compile correctly with Cython.
Browse files Browse the repository at this point in the history
  • Loading branch information
stump committed Jul 13, 2010
1 parent 40f33fa commit 468e37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pypitch/_pypitch.pyx
Expand Up @@ -63,7 +63,7 @@ cdef class Analyzer:
def __dealloc__(self):
delete_Analyzer(self._this)
def input(self, instr):
if not typecheck(instr, str):
if not isinstance(instr, str):
instr = instr.tostring() # assume it was a numpy array
return feedAnalyzer(self._this, instr)
def process(self):
Expand Down

0 comments on commit 468e37b

Please sign in to comment.