Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 2510d2b

Browse files
author
David Lucas
committed
Removed unnecessary parenthesis
1 parent 6ace61b commit 2510d2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/coding/relative_finite_field_extension.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ def cast_into_relative_field(self, b, check=False):
337337
sage: phi(FE.cast_into_relative_field(b)) == b
338338
True
339339
"""
340-
if (check):
341-
if not(is_in_relative_field(self, b)):
340+
if check:
341+
if not is_in_relative_field(self, b):
342342
raise ValueError("%s does not belong to the relative field", b)
343343
return self.relative_field_representation(b)[0]
344344

0 commit comments

Comments
 (0)