-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add cpp-linter action #199
Conversation
Codecov Report
@@ Coverage Diff @@
## main #199 +/- ##
=======================================
+ Coverage 87.7% 95.1% +7.4%
=======================================
Files 20 20
Lines 2095 1939 -156
Branches 370 344 -26
=======================================
+ Hits 1838 1845 +7
+ Misses 257 94 -163
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
||
std::ifstream v1_stream(vector1); | ||
std::ifstream v2_stream(vector2); | ||
std::ifstream v1Stream(vector1); |
Check failure
Code scanning / CodeQL
Uncontrolled data used in path expression
std::ifstream v1_stream(vector1); | ||
std::ifstream v2_stream(vector2); | ||
std::ifstream v1Stream(vector1); | ||
std::ifstream v2Stream(vector2); |
Check failure
Code scanning / CodeQL
Uncontrolled data used in path expression
const unsigned int stepNumber, | ||
const std::string& approximationStrategy, | ||
const std::int64_t seed, | ||
Args&&... args) { |
Check notice
Code scanning / CodeQL
Unused local variable
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.
Many thanks for getting this into DDSIM.
The checks seem happy and so am I. Just a handful of comments/question which shouldn't be too hard to address.
- Use plain std::unique_ptr to store the quantum computation for the simulators
Somehow I forgot this previously.
In addition: