diff --git a/Geo/GModelIO_OCC.h b/Geo/GModelIO_OCC.h
index 64252e8129a861e2dabe6e9eccb9cab11a37b44b..507bc2a94b08420ec3684b9cf3ef42be2a8dceb7 100644
--- a/Geo/GModelIO_OCC.h
+++ b/Geo/GModelIO_OCC.h
@@ -221,8 +221,6 @@ class OCC_Internals {
   bool rotate(const std::vector<std::pair<int, int> > &inDimTags,
               double x, double y, double z, double ax, double ay, double az,
               double angle);
-
-  // apply gtransformations
   bool dilate(const std::vector<std::pair<int, int> > &inDimTags,
               double x, double y, double z,
               double a, double b, double c);
@@ -461,6 +459,12 @@ public:
   {
     return _error("apply rotation");
   }
+  bool dilate(const std::vector<std::pair<int, int> > &inDimTags,
+              double x, double y, double z,
+              double a, double b, double c)
+  {
+    return _error("apply dilatation");
+  }
   bool copy(const std::vector<std::pair<int, int> > &inDimTags,
             std::vector<std::pair<int, int> > &outDimTags)
   {