Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace collision with libcombine? #23

Open
FFroehlich opened this issue Apr 2, 2021 · 1 comment
Open

Namespace collision with libcombine? #23

FFroehlich opened this issue Apr 2, 2021 · 1 comment

Comments

@FFroehlich
Copy link

A user reported the following issue with AMICI: AMICI-dev/AMICI#1483

What ends up happening is that sbml_model.all_elements has type libcombine.SBaseList instead of the usual libsbml.ListWrapperSBase.

I can reproduce that this always happens if both libcombine and libsbml are imported simultaneously. It appears that all kinds of other model elements are also stripped of their usual types and appear as SBase elements. I suspect that this is some kind of incompatibility that arises from the fact that both are swig exported interfaces.

@fbergmann
Copy link
Member

indeed, libCombine should probably not be exposing the duplicated symbol (as it won't make any use of that). Until i release a new version i'd recommend to first include libcombine, and then libsedml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants