BUG: Non-const dereferencing of tmp in fvc:dt2dt2 (closes #227)

This commit is contained in:
Mark Olesen 2016-09-07 09:33:26 +02:00
parent 17f0aa1db8
commit 03cb76a213

View File

@ -50,7 +50,7 @@ d2dt2
(
vf.mesh(),
vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')')
)().fvcD2dt2(vf);
).ref().fvcD2dt2(vf);
}
@ -66,7 +66,7 @@ d2dt2
(
vf.mesh(),
vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')')
)().fvcD2dt2(rho, vf);
).ref().fvcD2dt2(rho, vf);
}