From f65e815a6448ec4d8741300762d2785cae67a2bf Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Sun, 18 Aug 2024 08:33:23 +0200 Subject: [PATCH] remove printlns --- geo/src/algorithm/relate/geomgraph/geometry_graph.rs | 4 ---- geo/src/algorithm/relate/geomgraph/index/prepared_geometry.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/geo/src/algorithm/relate/geomgraph/geometry_graph.rs b/geo/src/algorithm/relate/geomgraph/geometry_graph.rs index d5fc0a8b35..3bf3e8e57f 100644 --- a/geo/src/algorithm/relate/geomgraph/geometry_graph.rs +++ b/geo/src/algorithm/relate/geomgraph/geometry_graph.rs @@ -68,12 +68,10 @@ where } fn invalidate_tree(&mut self) { - println!("invalidate tree"); self.tree = None; } fn build_tree(&self) -> RTree> { - println!("build tree: {}", self.edges().len()); let segments: Vec> = self .edges() .iter() @@ -102,7 +100,6 @@ where } pub(crate) fn clone_for_arg_index(&self, arg_index: usize) -> Self { - println!("clone for arg"); debug_assert!( self.has_computed_self_nodes, "should only be called after computing self nodes" @@ -152,7 +149,6 @@ where F: GeoFloat + RTreeNum, { pub(crate) fn new(arg_index: usize, parent_geometry: GeometryCow<'a, F>) -> Self { - println!("new geom graph"); let mut graph = GeometryGraph { arg_index, parent_geometry, diff --git a/geo/src/algorithm/relate/geomgraph/index/prepared_geometry.rs b/geo/src/algorithm/relate/geomgraph/index/prepared_geometry.rs index 68d0650925..6b33b3af92 100644 --- a/geo/src/algorithm/relate/geomgraph/index/prepared_geometry.rs +++ b/geo/src/algorithm/relate/geomgraph/index/prepared_geometry.rs @@ -157,7 +157,6 @@ mod conversions { impl<'a, F: GeoFloat> From> for PreparedGeometry<'a, F> { fn from(geometry: GeometryCow<'a, F>) -> Self { - println!("new prepared geom"); let mut geometry_graph = GeometryGraph::new(0, geometry); geometry_graph.update_tree(); // TODO: maybe unecessary