clang-tidy: {}

This commit is contained in:
Ed Hennis
2026-05-14 20:48:34 -04:00
parent b69b9242e2
commit ddfb7ee69c

View File

@@ -60,9 +60,13 @@ setCurrentTransactionRules(std::optional<Rules> r)
// Declare the range this way to keep clang-tidy from complaining
auto const range = [enableCuspRoundingFix, enableVaultNumbers]() {
if (enableCuspRoundingFix)
{
return MantissaRange::MantissaScale::Large;
}
else if (enableVaultNumbers)
{
return MantissaRange::MantissaScale::LargeLegacy;
}
return MantissaRange::MantissaScale::Small;
}();
Number::setMantissaScale(range);