@@ -91,7 +91,7 @@ class Spline2DBase : public FlatObject
9191 void recreate (int numberOfKnotsU1, const int knotsU1[], int numberOfKnotsU2, const int knotsU2[]);
9292#endif
9393
94- #if !defined(GPUCA_ALIGPUCODE ) && !defined(GPUCA_STANDALONE)
94+ #if !defined(GPUCA_GPUCODE ) && !defined(GPUCA_STANDALONE)
9595 // / approximate a function F with this spline.
9696 void approximateFunction (DataT x1Min, DataT x1Max, DataT x2Min, DataT x2Max,
9797 std::function<void (DataT x1, DataT x2, DataT f[])> F,
@@ -100,7 +100,7 @@ class Spline2DBase : public FlatObject
100100
101101 // / _______________ IO ________________________
102102
103- #if !defined(GPUCA_ALIGPUCODE ) && !defined(GPUCA_STANDALONE)
103+ #if !defined(GPUCA_GPUCODE ) && !defined(GPUCA_STANDALONE)
104104 // / write a class object to the file
105105 int writeToFile (TFile& outf, const char * name);
106106
@@ -163,7 +163,7 @@ class Spline2DBase : public FlatObject
163163 // / Print method
164164 void print () const ;
165165
166- #if !defined(GPUCA_ALIGPUCODE ) && !defined(GPUCA_STANDALONE) // code invisible on GPU and in the standalone compilation
166+ #if !defined(GPUCA_GPUCODE ) && !defined(GPUCA_STANDALONE) // code invisible on GPU and in the standalone compilation
167167 // / Test the class functionality
168168 static int test (const bool draw = 0 , const bool drawDataPoints = 1 );
169169#endif
@@ -257,7 +257,7 @@ class Spline2D : public Spline2DBase<DataT, isConsistentT>
257257
258258 // / _______________ IO ________________________
259259
260- #if !defined(GPUCA_ALIGPUCODE ) && !defined(GPUCA_STANDALONE)
260+ #if !defined(GPUCA_GPUCODE ) && !defined(GPUCA_STANDALONE)
261261 // / write a class object to the file
262262 using TBase::writeToFile;
263263
@@ -339,8 +339,8 @@ GPUhdi() Spline2D<DataT, nFdimT, isConsistentT>::
339339}
340340
341341template <typename DataT, int nFdimT, bool isConsistentT>
342- GPUhdi () Spline2D<DataT, nFdimT, isConsistentT>& Spline2D<DataT, nFdimT, isConsistentT>::
343- operator=(const Spline2D& spline)
342+ GPUhd () Spline2D<DataT, nFdimT, isConsistentT>& Spline2D<DataT, nFdimT, isConsistentT>::
343+ operator=(const Spline2D<DataT, nFdimT, isConsistentT> & spline)
344344{
345345 this ->cloneFromObject (spline, nullptr );
346346 return *this ;
0 commit comments