-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Generic not_equals methods for objects in coding theory library #19743
Comments
comment:3
I removed the old implementation of This is now open for review. New commits:
|
This comment has been minimized.
This comment has been minimized.
Commit: |
comment:4
Better use |
comment:5
I agree with [comment:4]: avoid |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Thanks for the advice! I changed my code accordingly. David |
Reviewer: Vincent Delecroix |
Changed branch from u/dlucas/default_not_equals_for_linear_codes to |
In this ticket, we propose a default implementation of
__ne__
methods forAbstractLinearCode
,Encoder
andDecoder
classes, which means one will only need to implement__eq__
in the subclasses.This new
__ne__
simply returns the inverse of the return value of__eq__
.Component: coding theory
Author: David Lucas
Branch/Commit:
f55e892
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/19743
The text was updated successfully, but these errors were encountered: