-
Notifications
You must be signed in to change notification settings - Fork 24
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
Remove malloc in src/solver/hydro/ #1626
Conversation
089a1fe
to
170f915
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only change required is now Flag
1157ea5
to
c4dd148
Compare
@payetvin Please resolve conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Use
std::unique_ptr
orstd::shared_ptr
instead ofnew
/delete
- You forgot this
malloc
File: daily2/h2o2_j_resoudre_le_probleme_lineaire.cpp
77:40: Probleme = (PROBLEME_SIMPLEXE*)malloc(sizeof(PROBLEME_SIMPLEXE));
src/solver/hydro/monthly/h2o_m_resoudre_le_probleme_lineaire.cpp
Outdated
Show resolved
Hide resolved
SonarCloud Quality Gate failed. 0 Bugs 0.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
issue #1575
previous PR: #1620