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

Add some tweaks for type stability etc. #1214

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

fingolfin
Copy link
Contributor

Several changes deal with JET warnings about "captured variables"
resulting in disabled optimizations resp. type unstable code.
E.g. mFF was assigned different values in two places which then
are referenced inside closures.

Likewise, NN was used in lambdas, which we now avoid.

Several changes deal with JET warnings about "captured variables"
resulting in disabled optimizations resp. type unstable code.
E.g. `mFF` was assigned different values in two places which then
are referenced inside closures.

Likewise, `NN` was used in lambdas, which we now avoid.
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Patch coverage: 88.88% and project coverage change: +0.06% 🎉

Comparison is base (84fe6d0) 74.41% compared to head (64ffdad) 74.48%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1214      +/-   ##
==========================================
+ Coverage   74.41%   74.48%   +0.06%     
==========================================
  Files         346      346              
  Lines      110798   110949     +151     
==========================================
+ Hits        82451    82639     +188     
+ Misses      28347    28310      -37     
Files Changed Coverage Δ
src/QuadForm/Herm/LocallyIsometricSublattice.jl 92.98% <50.00%> (ø)
src/Map/MapType.jl 98.18% <100.00%> (-0.77%) ⬇️
src/Map/NfRelOrd.jl 50.42% <100.00%> (ø)
src/QuadForm/Lattices.jl 88.00% <100.00%> (+1.16%) ⬆️

... and 34 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thofma
Copy link
Owner

thofma commented Sep 18, 2023

Breaking Oscar

@fingolfin
Copy link
Contributor Author

Indeed, it breaks experimental code:

  MethodError: no method matching elem_type(::Type{Oscar.GaloisCohomology_Mod.RelativeBrauerGroup})

Fix submitted as oscar-system/Oscar.jl#2814

@thofma thofma closed this Sep 21, 2023
@thofma thofma reopened this Sep 21, 2023
@thofma thofma merged commit 779deda into thofma:master Sep 21, 2023
23 of 30 checks passed
@fingolfin fingolfin deleted the mh/tweaks branch October 8, 2023 18:15
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.

2 participants