Skip to content

Commit a7b681a

Browse files
Function name overload when compile with llvm
1 parent 609cc45 commit a7b681a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

probcons/Probcons.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,8 +1499,7 @@ int ComputeScore (const SafeVector<pair<int, int> > &active, const SafeVector<Sa
14991499

15001500
//PYTHON LIB!
15011501

1502-
1503-
static PyObject *align(Probcons *self, PyObject *args, PyObject *keywds)
1502+
static PyObject *bpalign(Probcons *self, PyObject *args, PyObject *keywds)
15041503
{
15051504
PyObject * seqlist;
15061505

@@ -1608,7 +1607,7 @@ static PyObject *align(Probcons *self, PyObject *args, PyObject *keywds)
16081607

16091608

16101609
static PyMethodDef probcons_methods[] = {
1611-
{ "align", (PyCFunction) align, METH_VARARGS|METH_KEYWORDS },
1610+
{ "align", (PyCFunction) bpalign, METH_VARARGS|METH_KEYWORDS },
16121611
{ NULL, NULL }
16131612
};
16141613

0 commit comments

Comments
 (0)