-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Forward port of remaining CMSSW_7_2_X bits into CMSSW_7_3_X. #5706
Forward port of remaining CMSSW_7_2_X bits into CMSSW_7_3_X. #5706
Conversation
Fix IB addOn tests
…MSSW_7_2_X_2014-09-29-0200 MiniAOD: set track_ as transient in PackedPFCandidate
…29-0200_metCodeFix add JECpayload protection in PhysicsTools/PatUtils/interface/ShiftedJetProducerT.h
A script that manages a FU/BU appliance is added.
…0_pre6 re-store for GEN relvals the EnableHarvesting in reqmgr
deriving ts5 correction from ts4
@@ -185,10 +184,9 @@ namespace HepMCValidationHelper { | |||
for (unsigned int i = 0; i < taus.size(); ++i){ | |||
std::vector<const HepMC::GenParticle*> taudaughters; | |||
findDescendents(taus[i], taudaughters); | |||
assert(taudaughters.size()>0); | |||
if ( taudaughters.size()==0 ) { | |||
if ( taudaughters.size()<=0 ) { |
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.
taudaughters.size() is never < 0...
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.
yes, Alessandro changed this accordingly.
On Oct 6, 2014, at 7:08 PM, Giulio Eulisse [email protected]
wrote:
In Validation/EventGenerator/src/HepMCValidationHelper.cc:
@@ -185,10 +184,9 @@ namespace HepMCValidationHelper {
for (unsigned int i = 0; i < taus.size(); ++i){
std::vector<const HepMC::GenParticle*> taudaughters;
findDescendents(taus[i], taudaughters);
assert(taudaughters.size()>0);
if ( taudaughters.size()==0 ) {
if ( taudaughters.size()<=0 ) {
taudaughters.size() is never < 0...
—
Reply to this email directly or view it on GitHub.
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.
ah - never mind my comment.. yes - indeed - can be fixed when we re-enable the abort
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.
yeah... it should probably use std::vector::empty()
as well..
+1 |
+1 |
Forward port of remaining CMSSW_7_2_X bits into CMSSW_7_3_X.
No description provided.