-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Range check issue in CTPPS breaking IB #35936
Comments
A new Issue was created by @francescobrivio . @Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
Not sure who should be assigned here. |
good that the issue is cough. Still production code should not use . |
We can switch to []. For my education, why should it be preferred over at? |
much faster |
Thanks! |
I understand that the operator[] preference holds for std::vector. Does the same apply for std::map? For map, there is a complication that operator[] is not const, while at() can be - thus useful for const getters e.g. here: |
Correct. For
No, as you pointed out. In |
|
BTW: |
Hopefully, here's a fix: #35941. |
assign alca |
New categories assigned: alca @yuanchao,@francescobrivio,@malbouis,@tvami you have been requested to review this Pull request/Issue and eventually sign? Thanks |
+alca
|
This issue is fully signed and ready to be closed. |
There is a(nother) crash observed in the last IB (spotted by @mmusich) which seems also related to CTPPS:
https://cmssdt.cern.ch/SDT/cgi-bin/logreader/slc7_amd64_gcc900/CMSSW_12_2_X_2021-10-31-2300/pyRelValMatrixLogs/run/136.8642_RunJetHT2018BHEfail+RunJetHT2018BHEfail+HLTDR2_2018+RECODR2_2018reHLT_skimJetHT_Prompt_HEfail+HARVEST2018_HEfail/step3_RunJetHT2018BHEfail+RunJetHT2018BHEfail+HLTDR2_2018+RECODR2_2018reHLT_skimJetHT_Prompt_HEfail+HARVEST2018_HEfail.log#/833
It looks like an empty std::vector evaluated at(0).
The text was updated successfully, but these errors were encountered: