mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-26 15:43:23 +00:00
Small correction to the general exp definition
This commit is contained in:
1 parent
ab3596d4d3
commit
3c112a7a25
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user