From add7e8d2445fdb5bfea558f69111a3e353f611dd Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 24 Nov 2003 01:02:51 +0000
Subject: [PATCH] small cleanup

---
 Plugin/CutPlane.cpp | 4 ++--
 Plugin/Levelset.cpp | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Plugin/CutPlane.cpp b/Plugin/CutPlane.cpp
index 9680c4c362..7e9b051e29 100644
--- a/Plugin/CutPlane.cpp
+++ b/Plugin/CutPlane.cpp
@@ -1,4 +1,4 @@
-// $Id: CutPlane.cpp,v 1.30 2003-11-23 02:56:02 geuzaine Exp $
+// $Id: CutPlane.cpp,v 1.31 2003-11-24 01:02:51 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -29,7 +29,7 @@ StringXNumber CutPlaneOptions_Number[] = {
   {GMSH_FULLRC, "A", NULL, 1.},
   {GMSH_FULLRC, "B", NULL, 0.},
   {GMSH_FULLRC, "C", NULL, 0.},
-  {GMSH_FULLRC, "D", NULL, 0.01},
+  {GMSH_FULLRC, "D", NULL, -0.01},
   {GMSH_FULLRC, "iView", NULL, -1.}
 };
 
diff --git a/Plugin/Levelset.cpp b/Plugin/Levelset.cpp
index 888fdc7072..128ac5fb7d 100644
--- a/Plugin/Levelset.cpp
+++ b/Plugin/Levelset.cpp
@@ -1,4 +1,4 @@
-// $Id: Levelset.cpp,v 1.6 2003-11-23 02:56:02 geuzaine Exp $
+// $Id: Levelset.cpp,v 1.7 2003-11-24 01:02:51 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -170,7 +170,6 @@ int GMSH_LevelsetPlugin::zeroLevelset(int timeStep,
       }
     }
     if(_invert > 0.) {
-      double xpi[12], ypi[12], zpi[12], valpi[12][9];
       for(int k = 0; k < np; k++)
 	affect(xpi, ypi, zpi, valpi, k, xp, yp, zp, valp, k, dNbComp);
       for(int k = 0; k < np; k++)
@@ -527,7 +526,7 @@ Post_View *GMSH_LevelsetPlugin::execute(Post_View * v)
   }
 
   // remove empty views (this is a bit ugly because, due to the
-  // dynamic GUI events, this should actually be locked...
+  // dynamic GUI events, this should actually be locked...)
   for(int i = List_Nbr(CTX.post.list) - 1; i >= 0; --i) {
     w = (Post_View*) List_Pointer_Test(CTX.post.list, i);
     if(w && w->empty())
-- 
GitLab