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

Handle empty charts for subschemes of ideal sheaves #3526

Merged

Conversation

HechtiDerLachs
Copy link
Collaborator

As was pointed out by @afkafkafk13 in #3494, the constructor for subschemes from ideal sheaves had some deficiencies. This should be ruled out with this fix.

for (V, Vnew) in new_patches
(U, V) in keys(gluings(C)) || continue # No gluing before, no gluing after.
old_glue = C[U, V]
new_gluings[(Unew, Vnew)] = LazyGluing(Unew, Vnew, _compute_restriction,
Copy link
Collaborator

Choose a reason for hiding this comment

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

it seems to me that the variable _compute_restriction is undefined?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is a function which is passed on as an argument.

Maybe this just reads a little odd?

Copy link
Collaborator

@afkafkafk13 afkafkafk13 Mar 19, 2024

Choose a reason for hiding this comment

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

Yes, it is the function name to be used in the lazy gluing. A function of this name is available in LazyGluing.jl.
(Sorry this was typed at the same time as Hechti's answer, but took longer to upload (slow line).)

Copy link
Collaborator

@afkafkafk13 afkafkafk13 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@HechtiDerLachs HechtiDerLachs merged commit 99e5fee into oscar-system:master Mar 19, 2024
22 of 23 checks passed
@HechtiDerLachs HechtiDerLachs deleted the fix_subscheme_of_ideal_sheaf branch March 19, 2024 12:23
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