diff --git a/tree/ntuple/inc/ROOT/RField/RFieldFundamental.hxx b/tree/ntuple/inc/ROOT/RField/RFieldFundamental.hxx index 3fcaf295b5cab..7e87c8203e7b9 100644 --- a/tree/ntuple/inc/ROOT/RField/RFieldFundamental.hxx +++ b/tree/ntuple/inc/ROOT/RField/RFieldFundamental.hxx @@ -480,9 +480,6 @@ public: fValueMin = valueRange.first; fValueMax = valueRange.second; } - - R__DEPRECATED(6, 42, "Use SetQuantized(std::size_t nBits, std::pair valueRange) instead") - void SetQuantized(T minValue, T maxValue, std::size_t nBits) { SetQuantized(nBits, {minValue, maxValue}); } }; template <> diff --git a/tutorials/io/ntuple/ntpl018_low_precision_floats.C b/tutorials/io/ntuple/ntpl018_low_precision_floats.C index 5832f231c2d79..a256f1c650e75 100644 --- a/tutorials/io/ntuple/ntpl018_low_precision_floats.C +++ b/tutorials/io/ntuple/ntpl018_low_precision_floats.C @@ -61,7 +61,7 @@ static void Write() auto fieldReal32Quant = std::make_unique>("myReal32Quant"); // Declare that this field will never store values outside of the [-1, 1] range (this will be checked dynamically) // and that we want to dedicate 24 bits to this number on disk. - fieldReal32Quant->SetQuantized(-1., 1., 24); + fieldReal32Quant->SetQuantized(24, {-1., 1.}); model->AddField(std::move(fieldReal32Quant)); }