Fix multiexp for debug as well

Oversight on my end.
This commit is contained in:
Luke Parker 2022-07-07 02:40:04 -04:00
parent 9f8d1aa220
commit 7d80b6e854

View file

@ -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)