Commit bd75ca2
committed
ITS: do not use NAN in helpers for new ROCm
fixes:
/home/fschlepp/alice/sw/SOURCES/O2/dev_head/0/Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackHelpers.h:65:60: warning: use of NaN is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled]
65 | float ca = NAN, sa = NAN, snp = NAN, q2pt = NAN, q2pt2 = NAN;
| ^~~
/opt/rocm-7.1.1/lib/llvm/lib/clang/20/include/float.h:174:16: note: expanded from macro 'NAN'
174 | # define NAN (__builtin_nanf(""))
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>1 parent 44c45da commit bd75ca2
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments