Skip to content
Snippets Groups Projects
Commit d1db10d9 authored by Chad Hanna's avatar Chad Hanna
Browse files

python/templates.py: fix typo in new ceil_pow_2 function

parent 42598a60
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ def normalized_autocorrelation(fseries, revplan):
# Round a number up to the nearest power of 2
def ceil_pow_2( number ):
def ceil_pow_2(x):
x = int(math.ceil(x))
x -= 1
n = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment