Skip to content

bug fix in MMG5_split6(): face tags were taken from the wrong, uninitialized variable#296

Merged
corentin-prigent merged 2 commits intoMmgTools:developfrom
mpotse:splitfix1
Mar 24, 2025
Merged

bug fix in MMG5_split6(): face tags were taken from the wrong, uninitialized variable#296
corentin-prigent merged 2 commits intoMmgTools:developfrom
mpotse:splitfix1

Conversation

@mpotse
Copy link
Contributor

@mpotse mpotse commented Feb 25, 2025

The MMG5_split6 function was using face tags taken from an uninitialized variable. Since these tags are used to set tags for newly created edges, the bug led to warning messages from MMG5_chkedg() about inconsistency between point and edge tags. With some instrumentation I have seen that only the split6 function had this problem, likely because it is implemented a bit differently than the other split functions. Btw I will propose a reorganization of this function later.

…ialized, variable.

Since these tags are used to set tags for newly created edges, the bug led to warning
messages from MMG5_chkedg() about inconsistency between point and edge tags.
@corentin-prigent
Copy link
Contributor

Thanks !

@corentin-prigent corentin-prigent merged commit 1de0f31 into MmgTools:develop Mar 24, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants