From fc65b2f36d815ded6b44b486d5cf59a346b083fb Mon Sep 17 00:00:00 2001 From: Ludwig Jaeck <ludwig.jaeck@outlook.de> Date: Fri, 10 Mar 2023 14:12:59 +0100 Subject: [PATCH] clang format --- GUI/Model/Device/BeamWavelengthItem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/Model/Device/BeamWavelengthItem.cpp b/GUI/Model/Device/BeamWavelengthItem.cpp index 8aba2eb5236..3d69271bd15 100644 --- a/GUI/Model/Device/BeamWavelengthItem.cpp +++ b/GUI/Model/Device/BeamWavelengthItem.cpp @@ -31,6 +31,7 @@ void initDistribution(DistributionItem* newDistribution, if (auto* nd = dynamic_cast<SymmetricResolutionItem*>(newDistribution)) { nd->setMean(meanVal); nd->setMeanDecimals(4); + nd->mean().setLimits(RealLimits::lowerLimited(std::numeric_limits<double>::min())); } newDistribution->initDistribution(meanVal); -- GitLab