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

EN_INITSETTING overwriting on save #823

Open
tbn2net opened this issue Jan 13, 2025 · 0 comments
Open

EN_INITSETTING overwriting on save #823

tbn2net opened this issue Jan 13, 2025 · 0 comments

Comments

@tbn2net
Copy link

tbn2net commented Jan 13, 2025

https://github.com/OpenWaterAnalytics/EPANET/blame/3201d8485ec61732855147c5d2ce3c66ecde55fb/src/input3.c#L2204

When setting a value in EN_INITSETTING using EN_setlinkvalue and then saving the INP file, this code is executed, changing the value of EN_INITSETTING. Thus, the INP file will have a zero INITSETTING. Is this correct?

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