We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a867b5f commit b284c64Copy full SHA for b284c64
1 file changed
GPU/TPCFastTransformation/SplineUtil.h
@@ -38,6 +38,9 @@ class SplineUtil
38
// 2 - at least one of the dimensions must be set during runtime
39
// 3 - specialization where nYdim==1 (a small add-on on top of the other specs)
40
41
+ // calculate it as one return statement to make the AliRoot compiler happy
42
+ return (nYdim == 1) ? 3 : ((nXdim > 0 && nYdim > 0) ? 1 : 2);
43
+ /*
44
if (nYdim == 1) {
45
return 3;
46
}
@@ -46,6 +49,7 @@ class SplineUtil
49
} else {
47
50
return 2;
48
51
52
+ */
53
54
55
/// Spline1D & Spline2D specialization number depending on nYdim
0 commit comments