mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-12 09:26:51 +00:00
Fix multiexp for debug as well
Oversight on my end.
This commit is contained in:
parent
9f8d1aa220
commit
7d80b6e854
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue