Skip to content

Commit

Permalink
fix the linter once more (#35552)
Browse files Browse the repository at this point in the history
<!-- Please provide a concise, informative and self-explanatory title.
-->
<!-- Don't put issue numbers in the title. Put it in the Description
below. -->
<!-- For example, instead of "Fixes #12345", use "Add a new method to
multiply two integers" -->

### 📚 Description

Fixing the linter workflow

<!-- Describe your changes here in detail. -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes #12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x
]`. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- #12345: short description why this is a dependency
- #34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
  • Loading branch information
dimpase authored May 3, 2023
2 parents 5bd81de + f6f4e40 commit 4140517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/rings/real_double.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ cdef class RealDoubleElement(FieldElement):
def round(self):
"""
Round ``self`` to the nearest integer.
This uses the convention of rounding half to even
(i.e., if the fractional part of ``self`` is `0.5`, then it
is rounded to the nearest even integer).
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/real_mpfr.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2992,7 +2992,7 @@ cdef class RealNumber(sage.structure.element.RingElement):
"""
Round ``self`` to the nearest representable integer, rounding halfway
cases away from zero.
.. NOTE::
The rounding mode of the parent field does not affect the result.
Expand Down

0 comments on commit 4140517

Please sign in to comment.