diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp
index 4da710f00efc08557e4aef7952d03eaa6f0945b0..225853278dda0e07c38b41b1d69a84e730fe282f 100644
--- a/Geo/Geo.cpp
+++ b/Geo/Geo.cpp
@@ -3968,11 +3968,11 @@ void setSurfaceEmbeddedCurves(Surface *s, List_T *curves)
                 pq = pq2;
                 w = w2;
               }
-              if (pq < eps and pp < eps)
+              if (pq < eps && pp < eps)
                 mergePoint = true;
-              else if (pq >= eps and pp < eps)
+              else if (pq >= eps && pp < eps)
                 splitcToAddInSurf = true;
-              else if (pq < eps and pp >= eps)
+              else if (pq < eps && pp >= eps)
                 splitcDejaInSurf = true;
               else{
                 createPoint = true;