From b467180535db89ea65e15f2df384cc823c5cf5b7 Mon Sep 17 00:00:00 2001 From: jens Date: Wed, 24 Jan 2024 17:02:46 +0100 Subject: [PATCH] Initialize buttons rbmUseVisibleGaussianToggleButton and rbmUseHiddenGaussianToggleButton --- source/MainComponent.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/MainComponent.cpp b/source/MainComponent.cpp index 5c80082..cdace60 100644 --- a/source/MainComponent.cpp +++ b/source/MainComponent.cpp @@ -941,6 +941,9 @@ bool MainComponent::onProgress(Rbm *pRbm, const Rbm::Status &status) void MainComponent::updateControls() { rbmDoRaoBlackwellToggleButton->setToggleState(m_pLayer->params().doRaoBlackwell, dontSendNotification); + rbmUseVisibleGaussianToggleButton->setToggleState(m_pLayer->params().doGaussianVisible, dontSendNotification); + rbmUseHiddenGaussianToggleButton->setToggleState(m_pLayer->params().doGaussianHidden, dontSendNotification); + rbmDoSampleVisibleToggleButton->setToggleState(m_pLayer->params().gibbsDoSampleVisible, dontSendNotification); rbmDoSampleHidden->setToggleState(m_pLayer->params().gibbsDoSampleHidden, dontSendNotification);