Skip to content

Commit

Permalink
Change name of parameter from parent to cdga
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmarco authored May 19, 2023
1 parent 7e22e83 commit 704579f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/algebras/commutative_dga.py
Original file line number Diff line number Diff line change
Expand Up @@ -3897,7 +3897,7 @@ class CohomologyClass(SageObject, CachedRepresentation):
[2*y*z + x^2]
In order for the cache to not confuse objects with the same representation,
we can pass a parent as a parameter.
we can pass the parent of the representative as a parameter.
TESTS::
Expand Down Expand Up @@ -3940,7 +3940,7 @@ class CohomologyClass(SageObject, CachedRepresentation):
Defn: (x1_0, x1_1, x1_2, x1_3, y1_0, y1_1) --> (e1, e2, e3, e4, e5, -e5 + e6)
"""
def __init__(self, x, parent=None):
def __init__(self, x, cdga=None):
"""
EXAMPLES::
Expand All @@ -3949,7 +3949,7 @@ def __init__(self, x, parent=None):
[x - 2]
"""
self._x = x
self._par = parent
self._cdga = cdga

def __hash__(self):
r"""
Expand Down

0 comments on commit 704579f

Please sign in to comment.