Skip to content
Snippets Groups Projects
Commit 03cb76a2 authored by Mark Olesen's avatar Mark Olesen
Browse files

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

parent 17f0aa1d
Branches
Tags
No related merge requests found
...@@ -50,7 +50,7 @@ d2dt2 ...@@ -50,7 +50,7 @@ d2dt2
( (
vf.mesh(), vf.mesh(),
vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')') vf.mesh().ddtScheme("d2dt2(" + vf.name() + ')')
)().fvcD2dt2(vf); ).ref().fvcD2dt2(vf);
} }
...@@ -66,7 +66,7 @@ d2dt2 ...@@ -66,7 +66,7 @@ d2dt2
( (
vf.mesh(), vf.mesh(),
vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')') vf.mesh().ddtScheme("d2dt2(" + rho.name() + ',' + vf.name() + ')')
)().fvcD2dt2(rho, vf); ).ref().fvcD2dt2(rho, vf);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment