-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
major bugs in morphisms of R-modules #5887
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
There is one doctest failure (in the whole tree), so this isn't ready for review yet:
|
comment:4
Attachment: trac_5887.patch.gz OK, I fixed the patch. |
comment:5
Is this supposed to apply cleanly to sage-3.4.2.alpha0? I can't seem to be able to do that:
|
comment:6
Replying to @aghitza:
Well, given that #5882 also touches that file (but this ticket is a requirement) I think that the current situation is somewhat messed up. In the end I would not be surprised if this patch gets folded into the other ticket. Cheers, Michael |
this is rebased against 3.4.2.rc0 |
comment:7
Attachment: trac_5887-rebased_3.4.2.rc0.2.patch.gz This isn't being folded into #5882, and I do not view the "current situation" as at all messed up. There are three tickets: #5886 is first, then #5887, then finally #5882. I just applied #5886 and this rebased #5887 to my 3.4.2.rc0 tree on sage.math, and "sage -t devel/sage/sage" passes all tests. |
comment:8
Looks good! I have only a few minor issues, in
|
comment:9
Attachment: trac_5887-part2-referee_comments.patch.gz |
comment:11
Merged trac_5887-rebased_3.4.2.rc0.2.patch and trac_5887-part2-referee_comments.patch in Sage 4.0.alpha0. Cheers, Michael |
The image method on homomorphisms of R-modules is completely wrong. Here is a simple example that illustrates this serious bug. I start with V, which is a submodule of index 2 in
ZZ^2
, and define the identity map from V to V. The image isZZ^2
, which is totally wrong. I think the problem is that the image is being computed over the fraction field.In fact, the image isn't even contained in the codomain!
Also, the restrict_domain() function is broken:
DEPENDENCIES: This patch depends on #5886.
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/5887
The text was updated successfully, but these errors were encountered: