From d296ca5a1d977d62e3bcff6ffb54b927b7373510 Mon Sep 17 00:00:00 2001 From: jens Date: Sun, 21 Jan 2024 20:44:56 +0100 Subject: [PATCH] - fixed crash --- source/MainComponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/MainComponent.cpp b/source/MainComponent.cpp index d831e2f..10542ca 100644 --- a/source/MainComponent.cpp +++ b/source/MainComponent.cpp @@ -817,6 +817,7 @@ void MainComponent::comboBoxChanged (ComboBox* comboBoxThatHasChanged) int index = m_rbmSelect->getSelectedItemIndex(); m_pLayer = static_cast(m_stack->getLayer(index)); m_weightIndex = 0; + m_trainingIndex = 0; updateControls(); m_pLayer->redrawWeights(m_weightIndex); if (m_stack->trainingBatch().n_rows > 0)