Skip to content

Commit

Permalink
math.big: fix notice for compilation with latest v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Aug 23, 2023
1 parent 8a1077a commit c9e46d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/math/big/special_array_ops.v
Expand Up @@ -119,8 +119,8 @@ fn karatsuba_multiply_digit_array(operand_a []u32, operand_b []u32, mut storage
mut b_l := []u32{}
mut b_h := []u32{}
if half <= operand_b.len {
b_l = operand_b[0..half]
b_h = operand_b[half..]
b_l = unsafe { operand_b[0..half] }
b_h = unsafe { operand_b[half..] }
} else {
b_l = unsafe { operand_b }
// b_h = []u32{}
Expand Down

0 comments on commit c9e46d3

Please sign in to comment.