1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Compilation fix in the Tensor_exp

This commit is contained in:
Guido Cossu 2017-05-25 12:44:56 +01:00
parent 3c112a7a25
commit 75856f2945

View File

@ -127,7 +127,7 @@ template<class vtype,int N, typename std::enable_if< GridTypeMapper<vtype>::Tens
mat unit(1.0);
mat temp(unit);
for(int i=Nexp; i>=1;--i){
temp *= alpha/ReadD(i);
temp *= alpha/RealD(i);
temp = unit + temp*arg;
}
return temp;