diff --git a/code/rust/src/graphs/tarjan.rs b/code/rust/src/graphs/tarjan.rs index fcc7aea..1637fe5 100644 --- a/code/rust/src/graphs/tarjan.rs +++ b/code/rust/src/graphs/tarjan.rs @@ -173,8 +173,8 @@ impl Context } fn log_info(self: &Self, u: &T) { - let info = self.get_info(&u); if !self.debug { return; } + let info = self.get_info(&u); log_debug!("node, index, component: ({}, {}, {})", info.node, info.index, info.root); } }