Commit b6883c74 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in WordSequence length.

parent add5b575
...@@ -92,7 +92,7 @@ WordSequence_length(WordSequence *self) ...@@ -92,7 +92,7 @@ WordSequence_length(WordSequence *self)
if (res == NULL) if (res == NULL)
{ {
return NULL; return -1;
} }
return self->index + 1; return self->index + 1;
...@@ -538,7 +538,7 @@ static char WordSequence_module_documentation[] = ...@@ -538,7 +538,7 @@ static char WordSequence_module_documentation[] =
"\n" "\n"
"for use in an inverted index\n" "for use in an inverted index\n"
"\n" "\n"
"$Id: WordSequence.c,v 1.6 1997/06/30 15:36:06 jim Exp $\n" "$Id: WordSequence.c,v 1.7 1997/06/30 19:41:40 jim Exp $\n"
; ;
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment