Skip to content

Conversation

user202729
Copy link
Contributor

@user202729 user202729 commented Oct 9, 2025

detected by the compiler

warning: self-comparison always evaluates to true [-Wtautological-compare]

📝 Checklist

  • The title is concise and informative.
  • 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 and checked the documentation preview.

⌛ Dependencies

Copy link

github-actions bot commented Oct 9, 2025

Documentation preview for this PR (built with commit 85ff5ed; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

vbraun pushed a commit to vbraun/sage that referenced this pull request Oct 11, 2025
sagemathgh-41017: Fix an incorrect comparison in crypto/sbox
    
detected by the compiler

```
warning: self-comparison always evaluates to true [-Wtautological-
compare]
```


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ ] The title is concise and informative.
- [ ] 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 and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#41017
Reported by: user202729
Reviewer(s): Lorenz Panny
vbraun pushed a commit to vbraun/sage that referenced this pull request Oct 12, 2025
sagemathgh-41017: Fix an incorrect comparison in crypto/sbox
    
detected by the compiler

```
warning: self-comparison always evaluates to true [-Wtautological-
compare]
```


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ ] The title is concise and informative.
- [ ] 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 and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#41017
Reported by: user202729
Reviewer(s): Lorenz Panny
@vbraun vbraun merged commit a030984 into sagemath:develop Oct 16, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants