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: prevent memory leaks in fixed delay initialization #160

Merged
merged 2 commits into from
Nov 19, 2021

Conversation

ToddFincannon
Copy link
Collaborator

@ToddFincannon ToddFincannon commented Nov 4, 2021

Fixes #159

I made one other change in vensim.c to make it possible to compile with gcc, which does not support UTF-8 source files like clang does. I had used clever μ and σ variable names in probability-related code. I replaced these with mu and sigma and SDEverywhere C code compiled with gcc just fine.

@ToddFincannon ToddFincannon changed the title Todd/159 fixed delay fix: prevent memory leaks in fixed delay initialization Nov 4, 2021
Copy link
Contributor

@chrispcampbell chrispcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ToddFincannon Looks good. Apologies for the delay in getting to this and other PRs.

@chrispcampbell chrispcampbell merged commit e158b2f into develop Nov 19, 2021
@chrispcampbell chrispcampbell deleted the todd/159-fixed-delay branch November 19, 2021 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak detected in generated C code
2 participants