- fixed crashes

This commit is contained in:
2024-01-21 14:10:37 +01:00
parent 46ded370f6
commit 3e819d32a8
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -816,6 +816,7 @@ void MainComponent::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
{
int index = m_rbmSelect->getSelectedItemIndex();
m_pLayer = static_cast<RbmComponent*>(m_stack->getLayer(index));
m_weightIndex = 0;
updateControls();
m_pLayer->redrawWeights(m_weightIndex);
if (m_stack->trainingBatch().n_rows > 0)