-
Notifications
You must be signed in to change notification settings - Fork 22
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
added first tests using Singular.jl #157
added first tests using Singular.jl #157
Conversation
Codecov Report
@@ Coverage Diff @@
## master #157 +/- ##
===========================================
+ Coverage 53.96% 65.38% +11.42%
===========================================
Files 39 39
Lines 2320 2320
===========================================
+ Hits 1252 1517 +265
+ Misses 1068 803 -265
|
end ); | ||
|
||
|
||
InstallOtherMethod( GcdOp, | ||
IsIdenticalObj, | ||
[ "IsSingularPolynomial", "IsSingularPolynomial" ], | ||
function( f, g ) | ||
return SingularElement( f, Julia.Base.gcd( f, g ) ); | ||
return SingularElement( f, Julia.Base.gcd( | ||
JuliaPointer( f ), JuliaPointer( g ) ) ); |
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.
@sebasguts and me just discussed an extension to the conversion code that would in effect automatically call JuliaPointer
to "unwrap" high-level wrapper objects, as long as those high-level objects are in a suitable filter (say, IsAutomaticUnwrappingJuliaWrapper
or so...). Then the above change could be reverted to the old version.
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.
Should this behavior (automatically unwrapping or not) really belong on an object,
or does it depend on the situation whether one wants to unwrap or not?
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.
We have been discussing this as part of how to deal with extended automatic conversions of arguments for method calls (as opposed to just performing the absolute necessary conversions). We think we have a good plan for that now, and are working on implementing and writing up more about this. In the meantime, this is nothing that should delay this PR.
72a7cdf
to
b69449d
Compare
No description provided.