Import Geant4 9.5.0 source tree
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2010, Guy Barrand. All rights reserved.
|
||||
// See the file tools.license for terms.
|
||||
|
||||
#ifndef tools_mnmx
|
||||
#define tools_mnmx
|
||||
|
||||
namespace tools {
|
||||
|
||||
template <class T>
|
||||
inline T mn(const T& a,const T& b) {
|
||||
return (a<b?a:b);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline T mx(const T& a,const T& b) {
|
||||
return (a>b?a:b);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user