Skip to content

Instantly share code, notes, and snippets.

@lkilcher
Created October 31, 2014 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lkilcher/e6d6a199e66ae397702d to your computer and use it in GitHub Desktop.
Save lkilcher/e6d6a199e66ae397702d to your computer and use it in GitHub Desktop.
numpy.shape Issue
importy numpy
strat = numpy.ones((100, 100, 100))
p = strat.shape[0]
mutator = numpy.random.randint(0, 2, (p, p, p))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment