From 9b933a5c521acad9e420fe6cba9bfb435d6fa88f Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 20 Feb 2005 16:41:02 +0000
Subject: [PATCH] copy/paste bug

---
 Mesh/DiscreteSurface.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Mesh/DiscreteSurface.cpp b/Mesh/DiscreteSurface.cpp
index 4a96645a6e..e334416295 100644
--- a/Mesh/DiscreteSurface.cpp
+++ b/Mesh/DiscreteSurface.cpp
@@ -1,4 +1,4 @@
-// $Id: DiscreteSurface.cpp,v 1.3 2005-02-20 07:11:04 geuzaine Exp $
+// $Id: DiscreteSurface.cpp,v 1.4 2005-02-20 16:41:02 geuzaine Exp $
 //
 // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 //
@@ -445,7 +445,7 @@ void STLAddFacet(double x1, double y1, double z1,
   }
 }
 
-// Representation of discrete surfaces
+// Representation of discrete curves
 
 SEGM_rep::SEGM_rep()
   : num_points(0)
@@ -579,7 +579,7 @@ int MeshDiscreteCurve(Curve *c)
     SEGM_rep_To_Mesh(c->theSegmRep, c);
     return 1;
   }
-  else if(c->Typ == MSH_SURF_DISCRETE){
+  else if(c->Typ == MSH_SEGM_DISCRETE){
     // nothing else to do: we assume that the elements have alreay
     // been created
     return 1;
-- 
GitLab