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:
parent
ab3596d4d3
commit
3c112a7a25
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user