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

Satisfy Misra C++ quality rules #1362

Merged
merged 17 commits into from
Apr 12, 2024
Merged

Conversation

fspindle
Copy link
Contributor

@fspindle fspindle commented Apr 8, 2024

No description provided.

@@ -930,7 +930,7 @@ static double computePSNR(const vpImage<vpRGBa> &I_RGBA_8U, const vpImage<vpRGBa
return 10 * std::log10(255 * 255 / mse);
}

static bool readBinaryFile(const std::string &filename, std::vector<uint16_t> &buffer)
static bool reaBinaryFile(const std::string &filename, std::vector<uint16_t> &buffer)
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo here and below?

@@ -440,22 +458,22 @@ bool vpPose::poseRansac(vpHomogeneousMatrix &cMo, bool (*func)(const vpHomogeneo

if (foundSolution) {
unsigned int nbMinRandom = 4;
// std::cout << "Nombre d'inliers " << nbInliers << std::endl ;
// std::cout << "Nombre d'inliers " << nbInliers << std::endl
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// std::cout << "Nombre d'inliers " << nbInliers << std::endl
// std::cout << "Nombre d'inliers " << nbInliers << std::endl;

Semicolon changes can be reverted here and below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks

@fspindle fspindle merged commit c56e898 into lagadic:master Apr 12, 2024
48 of 50 checks passed
@fspindle fspindle deleted the quality-rules branch July 3, 2024 07:15
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

Successfully merging this pull request may close these issues.

2 participants