Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions extension/wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ _vectorized_sgp4(PyObject *args, elsetrec *raw_satrec_array, int imax)
goto cleanup;
}

Py_BEGIN_ALLOW_THREADS

double *jd = (double*) jd_buf.buf;
double *fr = (double*) fr_buf.buf;
double *r = (double*) r_buf.buf;
Expand All @@ -83,6 +85,8 @@ _vectorized_sgp4(PyObject *args, elsetrec *raw_satrec_array, int imax)
}
}
}

Py_END_ALLOW_THREADS
}

Py_INCREF(Py_None);
Expand Down
Loading