mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Cosmetic only
This commit is contained in:
parent
e30fa9f4b8
commit
53a9aeb965
@ -281,8 +281,8 @@ namespace Grid {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
class getPrecision{
|
class getPrecision{
|
||||||
public:
|
public:
|
||||||
typedef typename getVectorType<T>::type vector_obj; //get the vector_obj (i.e. a grid Tensor) if its a Lattice<vobj>, do nothing otherwise (i.e. if fundamental or grid Tensor)
|
//get the vector_obj (i.e. a grid Tensor) if its a Lattice<vobj>, do nothing otherwise (i.e. if fundamental or grid Tensor)
|
||||||
|
typedef typename getVectorType<T>::type vector_obj;
|
||||||
typedef typename GridTypeMapper<vector_obj>::scalar_type scalar_type; //get the associated scalar type. Works on fundamental and tensor types
|
typedef typename GridTypeMapper<vector_obj>::scalar_type scalar_type; //get the associated scalar type. Works on fundamental and tensor types
|
||||||
typedef typename GridTypeMapper<scalar_type>::Realified real_scalar_type; //remove any std::complex wrapper, should get us to the fundamental type
|
typedef typename GridTypeMapper<scalar_type>::Realified real_scalar_type; //remove any std::complex wrapper, should get us to the fundamental type
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user