mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-05 23:48:05 +01:00
Compilation fix in the Tensor_exp
This commit is contained in:
1 parent
3c112a7a25
commit
75856f2945
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/ReadD(i);
|
||||
temp *= alpha/RealD(i);
|
||||
temp = unit + temp*arg;
|
||||
}
|
||||
return temp;
|
||||
|
||||
Reference in new issue
Block a user