PandaRoot
PndFtsUtility.h
Go to the documentation of this file.
1 //
2 // Created by Bartosz Sobol on 20.10.2021.
3 //
4 
5 #pragma once
6 
8 
9 template <typename T>
10 T PlusIfNotMax(T accu, T curr)
11 {
12  if (curr < std::numeric_limits<T>::max()) {
13  return accu + curr;
14  }
15  return accu;
16 }
17 
18 template <typename T>
19 bool IfNotMax(const T x)
20 {
22 }
23 
24 } // namespace PndFtsTrackFinder::PndFtsUtility
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25