sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.31k stars 450 forks source link

Properly set LinearCodes in the category framework #18150

Open 1861b8a9-77f0-4f35-8431-8514a75b40d1 opened 9 years ago

1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 9 years ago

As discussed in #18099, there is something wrong with the actual way of setting LinearCodes in the category framework. This should be fixed.

CC: @videlec @johanrosenkilde

Component: coding theory

Issue created by migration from https://trac.sagemath.org/ticket/18150

johanrosenkilde commented 8 years ago
comment:1

David, what's the status on this? The description doesn't say what specifically should be fixed, so I can't check.

1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 8 years ago
comment:2

If I remember correctly, we discussed that with Vincent almost a year ago at SD66. However, I can't recollect any specific details. I checked my notes, and found nothing related to it. Sorry, I'm not really helpful here...

1861b8a9-77f0-4f35-8431-8514a75b40d1 commented 8 years ago
comment:3

Well, I managed to find this out! See: https://github.com/sagemath/sage-prod/issues/18099, comments 24 to 34 (especially 24 to 26). It's related to this line:

Element = type(facade_for).an_element() (l. 877) which is completely wrong.