Skip to content

Commit

Permalink
actually insist on 3.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed Oct 13, 2023
1 parent bc8c278 commit 528243c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cython
Cython>=3.0
pytest
cysignals
black
5 changes: 3 additions & 2 deletions src/fpylll/fplll/enumeration_callback_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
#include <Python.h>
#include <fplll/fplll.h>

extern "C" {
// TODO annoyingly Cython 3.0 insists on this gone, Cython < 3.0 insists on this being present
// extern "C" {
bool evaluator_callback_call_obj(PyObject *obj, int n, double *new_sol_coord);
}
// }

class PyCallbackEvaluatorWrapper {
public:
Expand Down

0 comments on commit 528243c

Please sign in to comment.