1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-07 00:47:05 +01:00

Zero changes, swap on lattice type.

This commit is contained in:
paboyle
2018-01-27 23:51:40 +00:00
parent ce4da83bc2
commit 9597ab94eb
7 changed files with 17 additions and 17 deletions

View File

@ -57,7 +57,7 @@ public:
Field chi(phi); // forecasted solution
// Trivial cases
if(degree == 0){ chi = zero; return chi; }
if(degree == 0){ chi = Zero(); return chi; }
else if(degree == 1){ return prev_solns[0]; }
// RealD dot;
@ -121,7 +121,7 @@ public:
}
// Use Gaussian elimination to solve equations and calculate initial guess
chi = zero;
chi = Zero();
r = phi;
for(int i=degree-1; i>=0; i--){
a[i] = 0.0;