diff --git a/Examples/Io/Json/src/JsonDigitizationConfig.cpp b/Examples/Io/Json/src/JsonDigitizationConfig.cpp index c06b2f4a3b2..de76cd36baf 100644 --- a/Examples/Io/Json/src/JsonDigitizationConfig.cpp +++ b/Examples/Io/Json/src/JsonDigitizationConfig.cpp @@ -63,7 +63,7 @@ void to_json(nlohmann::json& j, const ActsFatras::SingleParameterSmearFunction< } // Digital auto digital = f.target(); - if (uniform != nullptr) { + if (digital != nullptr) { j["type"] = "Digitial"; j["bindata"] = nlohmann::json(digital->binningData); return;