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

setReport point to the wrong internal epanet Function #72

Open
lbutler opened this issue Sep 15, 2024 · 0 comments
Open

setReport point to the wrong internal epanet Function #72

lbutler opened this issue Sep 15, 2024 · 0 comments

Comments

@lbutler
Copy link
Contributor

lbutler commented Sep 15, 2024

The issue can be seen below in the CPP file

int setreport(std::string format)
{
int errcode;
char *f = new char[format.length() + 1];
strcpy(f, format.c_str());
errcode = EN_copyreport(ph, f);
delete[] f;
return errcode;

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