Commit c0e4586a authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: avoid ambiguous construct from tmp - solvers/ electomagnetics

parent 0ff0b5cb
......@@ -92,7 +92,7 @@ int main(int argc, char *argv[])
for (int corr=0; corr<nCorr; corr++)
{
volScalarField rAU = 1.0/UEqn.A();
volScalarField rAU(1.0/UEqn.A());
U = rAU*UEqn.H();
......@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
BEqn.solve();
volScalarField rBA = 1.0/BEqn.A();
volScalarField rBA(1.0/BEqn.A());
phiB = (fvc::interpolate(B) & mesh.Sf())
+ fvc::ddtPhiCorr(rBA, B, phiB);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment