diff --git a/Mesh/HighOrder.cpp b/Mesh/HighOrder.cpp index 091531d6fea9effb214afd48749ef08c172802ce..e96bce83d9213ab490dbc0c1a0a2848befb0fe91 100644 --- a/Mesh/HighOrder.cpp +++ b/Mesh/HighOrder.cpp @@ -1044,12 +1044,12 @@ void SetOrderN(GModel *m, int order, bool linear, bool incomplete) // we do that model face by model face std::vector<MElement*> bad; double worst; - if (1 || displ2D){ + if (displ2D){ checkHighOrderTriangles(m, bad, worst); for(GModel::fiter it = m->firstFace(); it != m->lastFace(); ++it) if ((*it)->geomType() == GEntity::Plane) { gmshSwapHighOrderTriangles(*it); - if (displ2D)displ2D->smooth(*it); + if (displ2D) displ2D->smooth(*it); } // will have to smooth in the planar coordinates, using the metric } diff --git a/configure b/configure index 154fc1f131ad0b3a45ad0e0900e1319a3fc0278b..2e8ffcf219f087371c0f3e3cf91c188b2079cfcb 100755 --- a/configure +++ b/configure @@ -5402,7 +5402,7 @@ if test "x$UNAME" != "xDarwin"; then F77LIB="-lgfortran" ;; *g77*) - F77LIB="" + F77LIB="-lg2c" ;; esac fi