From 39c71bfca161780451bcf84e01afd1c0732a09a1 Mon Sep 17 00:00:00 2001 From: Michael-J-Ward Date: Tue, 13 Aug 2024 15:40:29 -0500 Subject: [PATCH] remove if condition that returned `3` for both branches I'm including this in a seaparate commit to call attention to it, in case the same return value is itself a bug. --- node-hub/dora-rerun/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-hub/dora-rerun/src/main.rs b/node-hub/dora-rerun/src/main.rs index d092e17e..a3b9b895 100644 --- a/node-hub/dora-rerun/src/main.rs +++ b/node-hub/dora-rerun/src/main.rs @@ -63,7 +63,7 @@ fn main() -> Result<()> { } else { "bgr8" }; - let channels = if encoding == "bgr8" { 3 } else { 3 }; + let channels = 3; let shape = vec![ TensorDimension {