Commit 11a435c1 authored by David Moxey's avatar David Moxey Committed by Dave Moxey

Fix some compiler errors

(cherry picked from commit f18474b6)
parent 6d4122fe
......@@ -274,8 +274,8 @@ namespace Nektar
{
std::string varName;
int cnt = 0;
int nTracePts = GetTraceTotPoints();
int nTracePts = GetTraceTotPoints();
int nvariables = inarray.num_elements();
Array<OneD, Array<OneD, NekDouble> > Fwd(nvariables);
for (int i = 0; i < nvariables; ++i)
......@@ -298,7 +298,7 @@ namespace Nektar
}
else
{
SetCommonBC(type, n, time, cnt, inarray);
SetCommonBC(type, n, time, cnt, Fwd, inarray);
}
// no User Defined conditions provided so skip cnt
......
......@@ -223,7 +223,8 @@ namespace Nektar
{
std::string varName;
int cnt = 0;
int nTracePts = GetTraceTotPoints();
int nvariables = inarray.num_elements();
int nTracePts = GetTraceTotPoints();
Array<OneD, Array<OneD, NekDouble> > Fwd(nvariables);
for (int i = 0; i < nvariables; ++i)
......
......@@ -251,7 +251,8 @@ namespace Nektar
{
std::string varName;
int cnt = 0;
int nTracePts = GetTraceTotPoints();
int nTracePts = GetTraceTotPoints();
int nvariables = inarray.num_elements();
Array<OneD, Array<OneD, NekDouble> > Fwd(nvariables);
for (int i = 0; i < nvariables; ++i)
......
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