Commit c755032e authored by Dave Moxey's avatar Dave Moxey
Browse files

Fixing more Windows bugs

parent 3790ce24
......@@ -126,7 +126,7 @@ template <typename T> struct HOQuadrilateral
void ReverseY()
{
int np = (int)(sqrt(surfVerts.size()) + 0.5);
int np = (int)(sqrt((NekDouble)surfVerts.size()) + 0.5);
// Reverse y direction
for (int j = 0; j < np; ++j)
{
......@@ -139,7 +139,7 @@ template <typename T> struct HOQuadrilateral
void Transpose()
{
int np = (int)(sqrt(surfVerts.size()) + 0.5);
int np = (int)(sqrt((NekDouble)surfVerts.size()) + 0.5);
std::vector<T> tmp(surfVerts.size());
for (int i = 0; i < np; ++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