Commit 768f14e7 authored by Dave Moxey's avatar Dave Moxey

Fix issue with uninitialised variable

parent 8f08eecc
......@@ -454,6 +454,7 @@ void ProcessVarOpti::Analytics()
{
node->m_x = originX + j * dx;
cout << node->m_x << " " << node->m_y << " ";
NekDouble minJacNew;
for (int i = 0; i < overInt; ++i)
......@@ -477,6 +478,7 @@ void ProcessVarOpti::Analytics()
minJacNew = 0.0;
// Evaluate functional.
nodeOpti->CalcMinJac();
cout << nodeOpti->GetFunctional<2>(minJacNew, false) << " ";
}
......
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