mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Fix multiexp for debug as well
Oversight on my end.
This commit is contained in:
@@ -133,7 +133,11 @@ fn algorithm(len: usize) -> Algorithm {
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
if len < 10 {
|
||||
if len == 0 {
|
||||
Algorithm::Null
|
||||
} else if len == 1 {
|
||||
Algorithm::Single
|
||||
} else if len < 10 {
|
||||
Algorithm::Straus(3)
|
||||
} else if len < 80 {
|
||||
Algorithm::Straus(4)
|
||||
|
||||
Reference in New Issue
Block a user