-
Notifications
You must be signed in to change notification settings - Fork 126
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
LieAlgebras: more optimizations regarding type stability #4145
Conversation
90cbfa3
to
01ddde4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4145 +/- ##
=======================================
Coverage 84.65% 84.66%
=======================================
Files 626 626
Lines 84316 84320 +4
=======================================
+ Hits 71380 71386 +6
+ Misses 12936 12934 -2
|
if !isdefined(Main, :mrdi_schema) | ||
mrdi_schema = Schema(JSON.parsefile(joinpath(Oscar.oscardir, "data", "schema.json"))) | ||
end | ||
|
||
if !isdefined(Main, :test_save_load_roundtrip) || isinteractive() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be an unrelated change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this should have been included in #4065, but I forgot it somehow.
Without this change, running Oscar.test_experimental_module("LieAlgebras")
from the REPL parses the schema multiple times, including some network request and some logging.
…m#4145) * Add second type param to `LieAlgebraModule` * Make more tests `@inferred` * Reduce test output spam * Another type annotation fix
No description provided.