-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Mesh_3/SMDS_3: Fix reading of .mesh files #7971
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sloriot
added
Batch_2
Second Batch of PRs under testing
Under Testing
and removed
Batch_2
Second Batch of PRs under testing
labels
Jan 10, 2024
lrineau
force-pushed
the
SMDS_3-fix_read_MEDIT-GF
branch
from
January 11, 2024 10:25
8de95dc
to
eb65913
Compare
With a `.mesh` containing `Triangles` in a comment, like that one: ``` MeshVersionFormatted 1 Dimension 3 Vertices 121 -10.0402 -10.0402 -10.0402 0 -10 10 10 0 10 10 10 0 [...] Triangles 609 98 76 65 0 98 81 76 0 65 81 98 0 Tetrahedra 244 81 65 76 98 0 28 1 37 34 0 69 25 70 94 0 [...] End ``` then the code failed. It read `Triangles` as the beginning of the triangles section. The commit use `std::getline()` to read the comments and the keywords: - `Vertices` - `Triangles` - `Tetrahedra`
@sloriot This PR has been reimplemented, after a code-review session with Jane. It is also now based on |
Seems to fail in this testsuite |
Successfully tested in CGAL-6.0-Ic-156 |
lrineau
added
rm only: ready for master
For the release team only: that indicates that a PR is about to be merged in 'master'
rm only: ready for release branch
For the release team only: that indicates that a PR is about to be merged in a release branch
labels
Jan 24, 2024
lrineau
added a commit
that referenced
this pull request
Jan 24, 2024
Mesh_3/SMDS_3: Fix reading of .mesh files
lrineau
removed
rm only: ready for master
For the release team only: that indicates that a PR is about to be merged in 'master'
rm only: ready for release branch
For the release team only: that indicates that a PR is about to be merged in a release branch
labels
Jan 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With a
.mesh
containingTriangles
in a comment, like that one:then the code failed. It read
Triangles
in the second comment as the beginning of the triangles section.This PR use
std::getline()
to read the comments and the keywords:Vertices
Triangles
Tetrahedra
Release Management