From 87a42d06a6757b3e1c56566aa709299df280223e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 24 Jan 2002 17:54:32 +0000
Subject: [PATCH] myacos was not used

---
 Common/Numeric.cpp | 10 +---------
 Common/Numeric.h   |  1 -
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/Common/Numeric.cpp b/Common/Numeric.cpp
index 176c4162db..ab8553f5ee 100644
--- a/Common/Numeric.cpp
+++ b/Common/Numeric.cpp
@@ -1,4 +1,4 @@
-// $Id: Numeric.cpp,v 1.4 2002-01-24 17:48:28 geuzaine Exp $
+// $Id: Numeric.cpp,v 1.5 2002-01-24 17:54:32 geuzaine Exp $
 
 #include "Gmsh.h"
 #include "Numeric.h"
@@ -12,14 +12,6 @@ double myatan2 (double a, double b){
   return atan2 (a, b);
 }
 
-double myacos (double a){
-  if (a == 0)
-    return Pi * 0.5;
-  if (a == 1)
-    return 0.0;
-  return acos (a);
-}
-
 double myasin(double a){
   if(a<=-1.) return -Pi/2.;
   else if(a>=1.) return Pi/2.;
diff --git a/Common/Numeric.h b/Common/Numeric.h
index 98db2432c1..9c8b141c17 100644
--- a/Common/Numeric.h
+++ b/Common/Numeric.h
@@ -35,7 +35,6 @@
 #define square(x)    ((x)*(x))
 
 double myatan2 (double a, double b);
-double myacos (double a);
 double myasin (double a);
 void prodve (double a[3], double b[3], double c[3]);
 void prosca (double a[3], double b[3], double *c);
-- 
GitLab