Tidy
This commit is contained in:
parent
f65aaba765
commit
233e94d94f
|
@ -4,8 +4,6 @@
|
||||||
# cython: wraparound=False
|
# cython: wraparound=False
|
||||||
|
|
||||||
|
|
||||||
cimport cython
|
|
||||||
from libc.stdlib cimport malloc, free
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,7 +32,6 @@ def evolve_return_best(object speaker, float position1, float position2, float v
|
||||||
error += (y * scale - data[j]) ** 2
|
error += (y * scale - data[j]) ** 2
|
||||||
if error > lowest_err:
|
if error > lowest_err:
|
||||||
break
|
break
|
||||||
# output[i, j] = y
|
|
||||||
x2 = x1
|
x2 = x1
|
||||||
x1 = voltages[i, j] # XXX does this really always lag?
|
x1 = voltages[i, j] # XXX does this really always lag?
|
||||||
y2 = y1
|
y2 = y1
|
||||||
|
|
Loading…
Reference in New Issue