Fixed inconsistent type in contract and open of input side packets
This commit is contained in:
		
							parent
							
								
									a92cff7a60
								
							
						
					
					
						commit
						0bb1e1100b
					
				|  | @ -101,7 +101,7 @@ absl::Status ThresholdingCalculator::Open(CalculatorContext* cc) { | |||
|   } | ||||
| 
 | ||||
|   if (cc->InputSidePackets().HasTag("THRESHOLD")) { | ||||
|     threshold_ = cc->InputSidePackets().Tag("THRESHOLD").Get<float>(); | ||||
|     threshold_ = cc->InputSidePackets().Tag("THRESHOLD").Get<double>(); | ||||
|   } | ||||
|   return absl::OkStatus(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user