1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Small correction to the general exp definition

This commit is contained in:
Guido Cossu 2017-05-25 12:09:00 +01:00
parent ab3596d4d3
commit 3c112a7a25

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/ComplexD(i);
temp *= alpha/ReadD(i);
temp = unit + temp*arg;
}
return temp;