changed nodes to be a u64

This commit is contained in:
William Ball 2021-07-17 10:50:31 -04:00
parent 393d2d0529
commit 6ad00abdaa

View file

@ -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<f64> = (1..=n)
// .map(|x| (x as f64 * upper_bound / (n as f64)))