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

Disable caching in a restriction_map method #4091

Conversation

fingolfin
Copy link
Member

Extracted from #3865. On the surface it looks to me as if this one is harmless. We'll see whether the tests pass.

@@ -243,7 +243,7 @@ function restriction_map(
# the terms accordingly, we derive the desired expressions for the cᵢ's.
#W = localized_ring(OO(Y))
W = OO(Y)
S, t = polynomial_ring(W, ["t$i" for i in 1:r])
S, t = polynomial_ring(W, ["t$i" for i in 1:r]; cached=false)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the only important change in this PR. The rest is just rewriting to make things more terse but otherwise has no semantic effect whatsoever and could also be dropped from this PR.

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 fine.

@simonbrandhorst simonbrandhorst merged commit 7c86ed5 into oscar-system:master Sep 16, 2024
25 checks passed
@fingolfin fingolfin deleted the mh/no-caching-in-restriction_map branch September 16, 2024 12:00
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.64%. Comparing base (e5c0365) to head (f61ec2b).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4091   +/-   ##
=======================================
  Coverage   84.64%   84.64%           
=======================================
  Files         614      614           
  Lines       83343    83343           
=======================================
  Hits        70548    70548           
  Misses      12795    12795           
Files with missing lines Coverage Δ
...Schemes/AffineSchemeOpenSubscheme/Rings/Methods.jl 86.76% <100.00%> (ø)

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