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

Update froidure-pin-hpp for v1/3 #197

Merged
merged 28 commits into from
Nov 8, 2024

Conversation

james-d-mitchell
Copy link
Member

@james-d-mitchell james-d-mitchell commented Oct 23, 2024

This PR requires the corresponding one in libsemigroups to be merged first, and also for some of the tests to be adjusted.

@james-d-mitchell james-d-mitchell added the v1 Label for issues/prs for v1 label Oct 25, 2024
Copy link
Collaborator

@Joseph-Edwards Joseph-Edwards left a comment

Choose a reason for hiding this comment

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

All looking good to me. Modulo the suggestions outlined below, I'll be happy to merge. Thanks @james-d-mitchell!



########################################################################
# Helpers -- from froidure-pin.cpp
Copy link
Collaborator

Choose a reason for hiding this comment

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

In some of the helper functions for which we have used @copydoc, the parameters and signatures are incorrect/inconsistent. Some of the functions have signatures with parameter fp: FroidurePin but then the doc says fpb(FroidurePinBase). In other instances, both the signature and the parameter list use FroidurePinBase.

I'm not really sure what the best way to fix this is, if it's worth fixing at all.

One option is to add more parameters to the decorator that makes text substitutions, but maybe that isn't very elegant.

Another option is to not copy the doc, and instead have the doc be very brief and point to the relevant FroidurePinBase function.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I've resolved this, some of the signature should say FroidurePinBase and I just got it wrong when I was writing them in this file. Hopefully caught them all!

@Joseph-Edwards Joseph-Edwards mentioned this pull request Nov 8, 2024
6 tasks
@james-d-mitchell
Copy link
Member Author

@Joseph-Edwards you happy for me to merge this?

@Joseph-Edwards
Copy link
Collaborator

@Joseph-Edwards you happy for me to merge this?

Yeah looks good to me. Merge away! Thanks @james-d-mitchell!

@james-d-mitchell james-d-mitchell merged commit 1900559 into libsemigroups:v1 Nov 8, 2024
9 checks passed
@james-d-mitchell james-d-mitchell deleted the froidure-pin-hpp branch November 8, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 Label for issues/prs for v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants