@@ -24,7 +24,7 static PyObject *hildebrand_sekhon(PyObject *self, PyObject *args) { | |||
|
24 | 24 | if (nums_min <= 5) nums_min = 5; |
|
25 | 25 | double sump = 0; |
|
26 | 26 | double sumq = 0; |
|
27 |
|
|
|
27 | long j = 0; | |
|
28 | 28 | int cont = 1; |
|
29 | 29 | double rtest = 0; |
|
30 | 30 | while ((cont == 1) && (j < lenOfData)) { |
@@ -46,8 +46,8 static PyObject *hildebrand_sekhon(PyObject *self, PyObject *args) { | |||
|
46 | 46 | |
|
47 | 47 | Py_DECREF(data_array); |
|
48 | 48 | |
|
49 | return PyLong_FromLong(lnoise); | |
|
50 |
|
|
|
49 | // return PyLong_FromLong(lnoise); | |
|
50 | return PyFloat_FromDouble(lnoise); | |
|
51 | 51 | } |
|
52 | 52 | |
|
53 | 53 |
General Comments 0
You need to be logged in to leave comments.
Login now