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
CondTool/DT fix clang warning -Wabsolute-value #16916
CondTool/DT fix clang warning -Wabsolute-value #16916
Conversation
gartung
commented
Dec 8, 2016
… of integer type [-Wabsolute-value]
A new Pull Request was created by @gartung (Patrick Gartung) for CMSSW_9_0_X. It involves the following packages: CondTools/DT @ggovi, @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready The workflows 1003.0, 1001.0, 1000.0, 140.53, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons |
@@ -93,8 +93,8 @@ void DTTPGParametersValidateDBRead::analyze( const edm::Event& e, | |||
sta, | |||
sec, | |||
nClock, tPhase, DTTimeUnits::counts ); | |||
if ( ( fabs( ckclock - nClock ) > 0.0001 ) || | |||
( fabs( ckphase - tPhase ) > 0.0001 ) ) | |||
if ( ( std::abs( ckclock - nClock ) > 0.0001 ) || |
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.
this looks like it should just be if ckclock!=nClock
-as changed, I think we will just change one warning for another
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.
Its a test class. This removes the warning.