Skip to content

Commit bdb5c39

Browse files
committed
fix notice for poly/poly.v
1 parent 7c55411 commit bdb5c39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

poly/poly.v

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ pub fn divide(a []f64, b []f64) ([]f64, []f64) {
298298
for i in 0 .. b.len {
299299
remainder[i] -= lead_coef * b[i]
300300
}
301-
remainder = remainder[1..]
301+
remainder = unsafe { remainder[1..] }
302302
for remainder.len > 0 && math.abs(remainder[0]) < 1e-10 {
303-
remainder = remainder[1..]
303+
remainder = unsafe { remainder[1..] }
304304
}
305305
}
306306

0 commit comments

Comments
 (0)