Merge branch 'main' into dev

This commit is contained in:
An0nymous 2024-11-28 13:22:11 +01:00 committed by GitHub
commit 2cbda23e9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -25,7 +25,7 @@ impl Polynomial {
}
pub fn degree(&self) -> usize {
self.polynomial.len()
self.polynomial.len() - 1
}
pub fn one() -> Self {