Skip to content

Commit

Permalink
Final clean-up fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jun 3, 2024
1 parent 68b1f10 commit a58fbfa
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,6 @@ impl<M: MathsCore, H: Habitat<M>, G: RngCore<M>> InMemoryDispersalSampler<M, H,
start: range_from,
end: alias_dispersal_buffer.len(),
}

// static DEBUG: core::sync::atomic::AtomicUsize =
// core::sync::atomic::AtomicUsize::new(0);

// if self_dispersal_probability.get() > 0.0 &&
// self_dispersal_probability < 1.0 {
// log::warn!("{row_index} {atoms:?}
// {non_self_dispersal_event}
// {self_dispersal_probability}");
// assert!(DEBUG.fetch_add(1,
// core::sync::atomic::Ordering::SeqCst) <= 10);
// }
}
}),
usize::from(habitat_extent.height()),
Expand Down

0 comments on commit a58fbfa

Please sign in to comment.