From a3817c89093e6aeae926fc675a6d0a115debabaf Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 12 Nov 2017 19:05:39 +0100
Subject: [PATCH] oops

---
 Common/gmsh.cpp | 4 ++--
 Common/gmsh.h   | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Common/gmsh.cpp b/Common/gmsh.cpp
index db5b92dbe6..658754da04 100644
--- a/Common/gmsh.cpp
+++ b/Common/gmsh.cpp
@@ -653,9 +653,9 @@ int gmshModelOccAddVertex(int &tag, double x, double y, double z, double meshSiz
   return !GModel::current()->getOCCInternals()->addVertex(tag, x, y, z, meshSize);
 }
 
-int gmshModelGeoSynchronize()
+int gmshModelOccSynchronize()
 {
   createOcc();
-  GModel::current()->getOccInternals()->synchronize(GModel::current());
+  GModel::current()->getOCCInternals()->synchronize(GModel::current());
   return 0;
 }
diff --git a/Common/gmsh.h b/Common/gmsh.h
index 5b1d083d6b..559efa663e 100644
--- a/Common/gmsh.h
+++ b/Common/gmsh.h
@@ -140,6 +140,7 @@ GMSH_API gmshModelGeoSynchronize();
 // gmshModelOcc
 GMSH_API gmshModelOccAddVertex(int &tag, double x, double y, double z,
                                double meshSize);
+GMSH_API gmshModelOccSynchronize();
 
 // gmshSolver
 
-- 
GitLab