Skip to content
Snippets Groups Projects
Commit 94614c9b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

set lower tolerance for COG comparison...

parent 6a830e5c
No related branches found
No related tags found
No related merge requests found
// $Id: Skin.cpp,v 1.8 2001-08-11 23:25:50 geuzaine Exp $ // $Id: Skin.cpp,v 1.9 2001-08-28 15:09:31 geuzaine Exp $
#include "Plugin.h" #include "Plugin.h"
#include "Skin.h" #include "Skin.h"
...@@ -67,7 +67,7 @@ typedef struct{ ...@@ -67,7 +67,7 @@ typedef struct{
static int fcmpElm(const void *a, const void *b){ static int fcmpElm(const void *a, const void *b){
Elm *e1=(Elm*)a, *e2=(Elm*)b; Elm *e1=(Elm*)a, *e2=(Elm*)b;
double s1, s2, TOL=CTX.lc*1.e-6; double s1, s2, TOL=CTX.lc*1.e-12;
int i; int i;
s1 = s2 = 0.0 ; s1 = s2 = 0.0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment