Commit 01ab1700 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Updated call to sqrt to define argument as Double for Windows XP compatibility

parent 8cf213bc
...@@ -632,7 +632,7 @@ namespace Nektar ...@@ -632,7 +632,7 @@ namespace Nektar
for (k=1; k<M; k++) for (k=1; k<M; k++)
{ {
kt = 2.0 * M_PI * k * m_time / T; 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; zar = r * za;
zJ0 = Polylib::ImagBesselComp(0,za); zJ0 = Polylib::ImagBesselComp(0,za);
zJ0r = Polylib::ImagBesselComp(0,zar); zJ0r = Polylib::ImagBesselComp(0,zar);
......
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