Skip to content
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

Fix '#define far' is performed in windows.h #1140

Merged
merged 2 commits into from
Oct 6, 2024

Conversation

VincentRouvreau
Copy link
Contributor

Oscillating rips was failing because of this, but other unitary tests was compiling and passing

…ws.h and makes the compilation fails sometimes
Copy link
Member

@mglisse mglisse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, we have to rename it. Since we don't have any other name talking about "index", for consistency, I think I'd rather name it "farthest". Is that ok for you?

@VincentRouvreau
Copy link
Contributor Author

Indeed, we have to rename it. Since we don't have any other name talking about "index", for consistency, I think I'd rather name it "farthest". Is that ok for you?

That's fine to me and I did so on 7fb35b8. I thought it was a kind of index on the farthest. But farthest is fine to me.

@mglisse
Copy link
Member

mglisse commented Oct 4, 2024

I thought it was a kind of index on the farthest

It is, but everything is indexes in this function, so it looks strange to have far_index but not parent_index, neighbor_index, etc.

@VincentRouvreau VincentRouvreau merged commit 6391ac2 into GUDHI:master Oct 6, 2024
5 of 7 checks passed
@VincentRouvreau VincentRouvreau deleted the windows_h_defines_far branch October 6, 2024 06:35
@VincentRouvreau VincentRouvreau added the 3.11.0 GUDHI version 3.11.0 label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11.0 GUDHI version 3.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants