Skip to content

Commit

Permalink
more syntax stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jondavidjohn committed Jan 25, 2012
1 parent 55b380a commit 4926163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shufflemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ PyObject *do_pile(PyObject *origList, int num_piles, int num_shuffles)
// Build final list
for(i = 0; i < num_piles; i++)
{
int pile_size = PyList_Size(pileArray[i]);
int pile_size = PyList_Size(pilesArray[i]);
int j;
for(j = 0, j < pile_size; j++)
{
Expand Down Expand Up @@ -117,7 +117,7 @@ PyObject *do_pile(PyObject *origList, int num_piles, int num_shuffles)
{
Py_DECREF(pilesArray[i]);
}
free(pilesArray)
free(pilesArray);

// recursively shuffle the desired amount
num_shuffles--;
Expand Down

0 comments on commit 4926163

Please sign in to comment.