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

Fix: add missing stop function in the Simulation using pybind #246

Conversation

leonardocarreras
Copy link
Collaborator

This commit fixes an error when using the dpsim python interface (dpsimpy).

The stop function was not declared in the pybind/main.cpp and then not exposed in python. The result was that the program gets an exception and the last data is not written to the output.

A line was added to expose the stop function.

This commit fixes an error when using the dpsim python interface.
The stop function was not declared in the pybind/main.cpp and then not exposed in python.

Signed-off-by: Leonardo Carreras <[email protected]>
@leonardocarreras leonardocarreras self-assigned this Oct 4, 2023
@leonardocarreras leonardocarreras added the bug Something isn't working label Oct 4, 2023
@leonardocarreras leonardocarreras merged commit a8055d8 into sogno-platform:hotfix-missing-simulation-stop Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant