Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jennifer Ryan
Nektar
Commits
01ab1700
Commit
01ab1700
authored
Feb 19, 2017
by
Spencer Sherwin
Browse files
Updated call to sqrt to define argument as Double for Windows XP compatibility
parent
8cf213bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
solvers/IncNavierStokesSolver/EquationSystems/IncNavierStokes.cpp
View file @
01ab1700
...
...
@@ -632,7 +632,7 @@ namespace Nektar
for
(
k
=
1
;
k
<
M
;
k
++
)
{
kt
=
2.0
*
M_PI
*
k
*
m_time
/
T
;
za
=
alpha
*
sqrt
(
k
)
/
sqrt
(
2.0
)
*
comp_conj
;
za
=
alpha
*
sqrt
(
(
NekDouble
)
k
/
2.0
)
*
comp_conj
;
zar
=
r
*
za
;
zJ0
=
Polylib
::
ImagBesselComp
(
0
,
za
);
zJ0r
=
Polylib
::
ImagBesselComp
(
0
,
zar
);
...
...
Write
Preview
Supports
Markdown
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