LGTM.com - false positive: if/elif/else comparison incorrect (unreachable, always true)
Đang mở
false-positive
Python
- Ngôn ngữ chính
- CodeQL
- Star
- 10.1k
- Fork
- 2.1k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 141
Mô tả
**Description of the false positive**
`alpha` is a variable provided through the function and takes on any value from (-inf,+inf).
- Related PR: diana-hep/pyhf#574 .
- CC: @lukasheinrich @matthewfeickert
- Language: python
**https://lgtm.com/projects/g/diana-hep/pyhf/snapshot/4a8bb79dcb5a18156090441c789404248a4872bb/files/src/pyhf/interpolators/code2.py?sort=name&dir=ASC&mode=heatmap#x490ee0f59f7109a3:1**
(and related)
**https://lgtm.com/projects/g/diana-hep/pyhf/snapshot/4a8bb79dcb5a18156090441c789404248a4872bb/files/src/pyhf/interpolators/code2.py?sort=name&dir=ASC&mode=heatmap#x4162964d9ead9482:1**
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.