changed nodes to be a u64
This commit is contained in:
parent
393d2d0529
commit
6ad00abdaa
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue