mirror of
https://github.com/paboyle/Grid.git
synced 2026-11-01 01:43:19 +00:00
Zero() change
This commit is contained in:
1 parent
7c8902b04f
commit
12eb2a6a34
1 file changed
+1
-1
@@ -117,7 +117,7 @@ void TGauss<FImpl>::execute(void)
|
|||||||
const Real Pi(M_PI);
|
const Real Pi(M_PI);
|
||||||
const SitePropagator idMat=[](){ SitePropagator s; s=1.; return s; }();
|
const SitePropagator idMat=[](){ SitePropagator s; s=1.; return s; }();
|
||||||
|
|
||||||
ScalarRho=zero;
|
ScalarRho=Zero();
|
||||||
for(int mu=0; mu<dim; mu++) {
|
for(int mu=0; mu<dim; mu++) {
|
||||||
assert(env().getDim(mu)%2==0);
|
assert(env().getDim(mu)%2==0);
|
||||||
assert(position_[mu]>=0 && position_[mu]<env().getDim(mu));
|
assert(position_[mu]>=0 && position_[mu]<env().getDim(mu));
|
||||||
|
|||||||
Reference in new issue
Block a user