Skip to content

Revert "Solve issue when inserting a point along a non-manifold edge with 2 singular extremities" #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/mmg3d/tools_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,7 @@ inline int MMG5_BezierNom(MMG5_pMesh mesh,MMG5_int ip0,MMG5_int ip1,double s,dou
/* Coordinates of the new tangent and normal */
if ( MG_SIN(p0->tag) && MG_SIN(p1->tag) ) { // function should not be used in that case
memcpy(to,t0,3*sizeof(double));
/* returning 1 here may create memory error afterward because no (that
* is not filled) will be used */
return 0;
return 1;
}
else if ( MG_SIN(p0->tag) ) {
memcpy(n1,&(mesh->xpoint[p1->xp].n1[0]),3*sizeof(double));
Expand Down
Loading