-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Milestone
Description
TLDR tracked in:
When migrating from SWIG 4.3.1 to 4.4.0 we got some issue on few tests...
cmake -S. -Bbuild -DBUILD_PYTHON=ON -DUSE_SCIP=OFF -DUSE_COINOR=OFF -DUSE_HIGHS=OFF && cmake --build build --config Release -j 4
(cd build && ctest -V -R "python.*issue46")note: disable SCIP, Highs and Cbc support to reduce build time...
Observed:
...
677: TypeError: SWIG director type mismatch in output value of type 'operations_research::Decision *'
DevNote
src: https://github.com/google/or-tools/blob/main/examples/tests/issue46.py
| PY_CONVERT_HELPER_PTR(Decision); |
| PY_CONVERT(Decision); |
| %feature ("director") Decision; |