Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Travis Scrimshaw <clfrngrown@aol.com>
  • Loading branch information
user202729 and tscrim authored Nov 1, 2024
1 parent 6819635 commit c97a639
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sage/modules/vector_modn_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,15 @@ cdef class Vector_modn_dense(free_module_element.FreeModuleElement):
"""
Create an element.
TESTS:
Note that ``coerce=False`` is dangerous::
sage: V = VectorSpace(GF(7), 3)
sage: v = V([2, 9, -5], coerce=False)
sage: v[0] == v[1]
False
sage: v[0]+1 == v[1]+1
sage: v[0] + 1 == v[1] + 1
True
sage: v[0] == v[2]
False
Expand Down

0 comments on commit c97a639

Please sign in to comment.