Skip to content

Commit 97c2b94

Browse files
committed
Fix failing unittest.
1 parent 5663a8e commit 97c2b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/TPCFastTransformation/NDPiecewisePolynomials.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class NDPiecewisePolynomials : public FlatObject
248248
GPUd() uint32_t getTerms() const
249249
{
250250
if constexpr (TermDim == 0) {
251-
return 0;
251+
return 1;
252252
} else {
253253
return (mN[TermDim - 1] - 1) * getTerms<TermDim - 1>();
254254
}

0 commit comments

Comments
 (0)