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

HybridSystem multiple simulations bug #167

Open
dguittet opened this issue Apr 18, 2024 · 1 comment
Open

HybridSystem multiple simulations bug #167

dguittet opened this issue Apr 18, 2024 · 1 comment

Comments

@dguittet
Copy link
Collaborator

dguittet commented Apr 18, 2024

Issue is that running the execute function more than once causes problems due to two reasons:

  1. In the function copy for var_data, the vec field is appending entries from the rhs.vec instead of replacing.
    Bug copying vec field of var_data ssc#1157

  2. The existing output data slows down simulation a lot. The data should be cleared before re-simulation.

@dguittet
Copy link
Collaborator Author

dguittet commented Apr 18, 2024

Fixed in 83bd6e0

@cpaulgilman

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

1 participant