-
Notifications
You must be signed in to change notification settings - Fork 112
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
Precise Johnson solids using serialization #3035
Conversation
…loading precise johnson solids via their matrices now possible
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #3035 +/- ##
==========================================
+ Coverage 80.09% 80.49% +0.39%
==========================================
Files 491 523 +32
Lines 69349 70413 +1064
==========================================
+ Hits 55547 56679 +1132
+ Misses 13802 13734 -68
|
Regarding rewriting function save_object(s::SerializerState, E::FieldEmbeddingTypes) I am bit worried about using Was the idea to have only one implementation for all four different types? |
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.
looks good, one small comment
That was what we were worried about, too, hence we need your insight.
The idea was to at least have serialization working for all four types. The newly added types usually could not be constructed with a |
I will think about it. |
It appears I need to write a few lines of code to make this a bit easier. I will come back to you once this is done. |
e2fbff6
to
0a9288d
Compare
I pushed the improved serialization with extensive tests. This needs thofma/Hecke.jl#1296, which should be available in a few hours. I will restart CI once it is. |
0a9288d
to
18c2bc4
Compare
I guess we need to recompute those |
Thank you for helping out on this! I managed to successfully save and load the matrices. Unfortunately, there is an exception:
it seems that the following check is |
Thanks, I will have a look. I think I know what the problem is. |
Fix is on the way. I will ping you once you can try again. |
I pushed the fix. Please try again. |
Everything works now, thank you again! I pushed the new serialized data and hopefully CI tests will succeed now. |
Co-authored-by: antonydellavecchia <antonydellavecchia@gmail.com>
Co-authored-by: Benjamin Lorenz <benlorenz@users.noreply.github.com>
This PR adds precise Johnson solids over fields not supported by
polymake
'sQuadraticExtension
. As the construction uses the V-description, pre-computed matrices are loaded. This required additional serialization methods forEmbeddedField
,EmbeddedFieldElem
and underlying embedding types.