From 0bb1e1100b047845c7337bbebfe5f262cee0c0ca Mon Sep 17 00:00:00 2001 From: Alex K Date: Wed, 17 Mar 2021 11:45:55 +0200 Subject: [PATCH] Fixed inconsistent type in contract and open of input side packets --- mediapipe/calculators/util/thresholding_calculator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/calculators/util/thresholding_calculator.cc b/mediapipe/calculators/util/thresholding_calculator.cc index 65876c075..c86e6ca52 100644 --- a/mediapipe/calculators/util/thresholding_calculator.cc +++ b/mediapipe/calculators/util/thresholding_calculator.cc @@ -101,7 +101,7 @@ absl::Status ThresholdingCalculator::Open(CalculatorContext* cc) { } if (cc->InputSidePackets().HasTag("THRESHOLD")) { - threshold_ = cc->InputSidePackets().Tag("THRESHOLD").Get(); + threshold_ = cc->InputSidePackets().Tag("THRESHOLD").Get(); } return absl::OkStatus(); }