From 0a014922be0ee9a11668751a956ceeb8034494ee Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 21 Dec 2017 02:16:21 -0200 Subject: gh-desktop error fix --- Project/Electromechanical.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Project/Electromechanical.cpp') diff --git a/Project/Electromechanical.cpp b/Project/Electromechanical.cpp index 4f416a6..3b6466a 100644 --- a/Project/Electromechanical.cpp +++ b/Project/Electromechanical.cpp @@ -98,6 +98,7 @@ bool Electromechanical::RunStabilityCalculation() if(!InitializeDynamicElements()) return false; double pbdTime = m_plotTime; + m_currentTime = 0.0; double currentPlotTime = 0.0; double currentPbdTime = 0.0; while(m_currentTime < m_simTime) { -- cgit