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

check that we have a least one pt in TooManyElems

parent 59937b59
No related branches found
No related tags found
No related merge requests found
// $Id: Generator.cpp,v 1.78 2006-02-22 19:39:50 geuzaine Exp $
// $Id: Generator.cpp,v 1.79 2006-02-25 14:20:07 geuzaine Exp $
//
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
//
......@@ -240,7 +240,7 @@ void Move_SimplexBaseToSimplex(Mesh * M, int dimension)
}
bool TooManyElements(Mesh *M, int dim){
if(CTX.expert_mode) return false;
if(CTX.expert_mode || !Tree_Nbr(M->Points)) return false;
// try to detect obvious mistakes in characteristic lenghts (one of
// the most common cause for erroneous bug reports on the mailing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment