Skip to content

Update SpecialFanoFourfolds from 2.7.1 to 2.8 - #4181

Merged
d-torrance merged 12 commits into
Macaulay2:developmentfrom
giovannistagliano:development
Apr 13, 2026
Merged

d-torrance merged 12 commits into
Macaulay2:developmentfrom
giovannistagliano:development

Conversation

@giovannistagliano

Copy link
Copy Markdown
Contributor

Added support for the DoubleSpecialCubicFourfold class (cubic fourfolds in the intersection of two Hassett divisors). Might follow up with some minor updates in the coming days.

Added support for the DoubleSpecialCubicFourfold class (cubic fourfolds in the intersection of two Hassett divisors). Might follow up with some minor updates in the coming days.
@mahrud

mahrud commented Apr 7, 2026

Copy link
Copy Markdown
Member

Totally up to you, but you might want to consider breaking up the main file into smaller files in an auxiliary directory, e.g. docs.m2, tests.m2, or even separating by class like DoubleSpecialCubicFourfold.m2, etc. There are only 3 packages longer than 6k lines, and imho those should be split as well.

@giovannistagliano

Copy link
Copy Markdown
Contributor Author

Totally up to you, but you might want to consider breaking up the main file into smaller files in an auxiliary directory, e.g. docs.m2, tests.m2, or even separating by class like DoubleSpecialCubicFourfold.m2, etc. There are only 3 packages longer than 6k lines, and imho those should be split as well.

Thanks for the feedback. Since the new additions are quite separate, I am considering moving them into a new package.

Between refactoring the current package into multiple files or creating this new one, which approach do you think is better for M2? I would personally prefer the second option to make future updates easier to manage.

@mahrud

mahrud commented Apr 7, 2026

Copy link
Copy Markdown
Member

If it's still about fano fourfolds, or if the intersection of tools and methods is high enough, then multiple files in the same package makes more sense to me.

@giovannistagliano

Copy link
Copy Markdown
Contributor Author

That makes sense. I'll break up the main file into several smaller ones and update the PR once it's ready. Thanks!

@d-torrance

Copy link
Copy Markdown
Member

@giovannistagliano - are there any more updates coming, or is this good to go?

@giovannistagliano

Copy link
Copy Markdown
Contributor Author

I still need to make a few small updates, almost done...

@giovannistagliano

Copy link
Copy Markdown
Contributor Author

I believe this is ready on my side

@d-torrance d-torrance left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@d-torrance
d-torrance merged commit 03faf0f into Macaulay2:development Apr 13, 2026
5 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.

3 participants