Skip to content

Commit

Permalink
Fix small typo in python utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hugelgupf committed Jan 17, 2015
1 parent fcc7e72 commit 8ba9c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ods/utils.py
Expand Up @@ -12,7 +12,7 @@ def new_zero_array(n):
return numpy.zeros(n)

def new_boolean_matrix(n, m):
return numpy.zeros([n, n], numpy.bool_)
return numpy.zeros([n, m], numpy.bool_)

def new_boolean_array(n):
return numpy.zeros(n, numpy.bool_)
Expand All @@ -23,4 +23,4 @@ def new_int_array(n, init=0):
return a

def binfmt(n):
return "{0:012b}".format(n)
return "{0:012b}".format(n)

0 comments on commit 8ba9c1c

Please sign in to comment.