Skip to content

Commit

Permalink
remove accidentally repeated code
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Aug 13, 2015
1 parent d16ed91 commit 62d14dd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tractor/mp_fourier.i
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@ static PyObject* mixture_profile_fourier_transform(
}
}

for (k=0; k<K; k++) {
if ((means[k*D] != means[0]) ||
(means[k*D+1] != means[1])) {
PyErr_SetString(PyExc_ValueError, "Assume all means are equal");
return NULL;
}
}

double* factors = malloc(K*3 * sizeof(double));
for (k=0; k<K; k++) {
double* V = vars + k*D*D;
Expand Down

0 comments on commit 62d14dd

Please sign in to comment.