Skip to content
Snippets Groups Projects
Commit a2a4c1e3 authored by Bertrand Thierry's avatar Bertrand Thierry
Browse files

fix compile

parent 15738c9f
Branches
Tags
No related merge requests found
...@@ -7,9 +7,10 @@ ...@@ -7,9 +7,10 @@
// Gaetan Bricteux // Gaetan Bricteux
// //
#include "gmshLevelset.h"
#include <queue> #include <queue>
#include <stack> #include <stack>
#include <math.h>
#include "gmshLevelset.h"
#include "fullMatrix.h" #include "fullMatrix.h"
#include "GModel.h" #include "GModel.h"
#include "MElement.h" #include "MElement.h"
...@@ -737,7 +738,7 @@ double gLevelsetDistGeom::operator() (const double x, const double y, const doub ...@@ -737,7 +738,7 @@ double gLevelsetDistGeom::operator() (const double x, const double y, const doub
SPoint3 p3(v3->x(),v3->y(),v3->z()); SPoint3 p3(v3->x(),v3->y(),v3->z());
signedDistancesPointsTriangle(iDistances, iClosePts, nodes, p1, p2, p3); signedDistancesPointsTriangle(iDistances, iClosePts, nodes, p1, p2, p3);
} }
if (std::fabs(iDistances[0]) < std::fabs(dist)) dist = iDistances[0]; if (fabs(iDistances[0]) < fabs(dist)) dist = iDistances[0];
} }
} }
else{ else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment