Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
768f14e7
Commit
768f14e7
authored
Dec 08, 2016
by
Dave Moxey
Browse files
Fix issue with uninitialised variable
parent
8f08eecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
utilities/NekMesh/ProcessModules/ProcessVarOpti/ProcessVarOpti.cpp
View file @
768f14e7
...
...
@@ -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
)
<<
" "
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment