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

meas_astrom/DM-7736: Avoid signed/unsigned integer comparison warnings. #46

Merged
merged 1 commit into from Oct 4, 2016

Conversation

TallJimbo
Copy link
Member

No description provided.

@@ -535,7 +535,7 @@ namespace astrom {
if (posRefBegInd < 0) {
throw LSST_EXCEPT(pexExcept::InvalidParameterError, "posRefBegInd < 0");
}
if (posRefBegInd >= posRefCat.size()) {
if (static_cast<size_t>(posRefBegInd) >= posRefCat.size()) {
Copy link
Member

@kfindeisen kfindeisen Oct 3, 2016

Choose a reason for hiding this comment

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

EDIT: never mind, my suggestion was a bad idea. Code ok as-is.

@TallJimbo TallJimbo merged commit f2a177e into master Oct 4, 2016
@ktlim ktlim deleted the tickets/DM-7736 branch August 25, 2018 06: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
2 participants