Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more syntax stuff

  • Loading branch information...
commit 4926163c5204bce8b86bde9ebdd29ebe63a94f06 1 parent 55b380a
@jondavidjohn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 shufflemodule.c
View
4 shufflemodule.c
@@ -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++)
{
@@ -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--;
Please sign in to comment.
Something went wrong with that request. Please try again.