diff --git a/source/Stack.cpp b/source/Stack.cpp index 27eb2e0..dd73f6e 100644 --- a/source/Stack.cpp +++ b/source/Stack.cpp @@ -94,6 +94,7 @@ void Stack::saveWeights() while(pLayer) { pLayer->saveWeights(); + pLayer = pLayer->upper; } }