diff --git a/fractal_dimension/circle_counting_new/src/lib.rs b/fractal_dimension/circle_counting_new/src/lib.rs index 28628cb..d36b5db 100644 --- a/fractal_dimension/circle_counting_new/src/lib.rs +++ b/fractal_dimension/circle_counting_new/src/lib.rs @@ -15,7 +15,7 @@ pub fn fractal_dimension( let mut totals = vec![root.len(); n]; let mut current = vec![(root, std::usize::MAX, false)]; let mut next = vec![]; - let mut nodes = 1; + let mut nodes: u64 = 1; let xs: Vec = (1..=n) // .map(|x| (x as f64 * upper_bound / (n as f64)))