mirror of
https://github.com/paboyle/Grid.git
synced 2025-12-16 18:54:40 +00:00
Change the SIMD command correctly with precision = double vs. single and
connect the "Real" default precisoin to a configure flag. Have RealF, RealD and Real types, where Real is compile target dependent single/double, RealF is single and RealD is double etc..
This commit is contained in:
@@ -17,7 +17,6 @@ namespace Grid {
|
||||
|
||||
typedef float RealF;
|
||||
typedef double RealD;
|
||||
#define GRID_DEFAULT_PRECISION_DOUBLE
|
||||
#ifdef GRID_DEFAULT_PRECISION_DOUBLE
|
||||
typedef RealD Real;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user