Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e8e52c27
Commit
e8e52c27
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
55a713d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Geo/Geo.cpp
+6
-7
6 additions, 7 deletions
Geo/Geo.cpp
with
6 additions
and
7 deletions
Geo/Geo.cpp
+
6
−
7
View file @
e8e52c27
...
@@ -2901,13 +2901,12 @@ static void MaxNumSurface(void *a, void *b)
...
@@ -2901,13 +2901,12 @@ static void MaxNumSurface(void *a, void *b)
static void ReplaceDuplicatePoints()
static void ReplaceDuplicatePoints()
{
{
// FIXME: This routine is in fact logically wrong (the
// FIXME: This routine is in fact logically wrong (the compareTwoPoints
// compareTwoPoints function used in the avl tree is not a
// function used in the avl tree is not a appropriate comparison
// appropriate comparison function). The fix is simple (use a multi
// function). The fix is simple (use a multi dimensional tree, e.g.,
// dimensional tree, e.g., MVertexPositionSet), but fixing the
// MVertexPositionSet), but fixing the routine would break backward
// routine would break backward compatibility with old .geo
// compatibility with old .geo files. This will be fixed in the new abstract
// files. This will be fixed in the new abstract GModel CAD creation
// GModel CAD creation routines.
// routines.
Vertex *v, *v2, **pv, **pv2;
Vertex *v, *v2, **pv, **pv2;
Curve *c;
Curve *c;
Surface *s;
Surface *s;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment