summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-21 02:16:21 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-21 02:16:21 -0200
commit0a014922be0ee9a11668751a956ceeb8034494ee (patch)
treefa615c364851846cd21965fdb204e068b9649919
parentb32c2281cff97d1902f963b782c1b10342945f77 (diff)
downloadPSP.git-0a014922be0ee9a11668751a956ceeb8034494ee.tar.gz
PSP.git-0a014922be0ee9a11668751a956ceeb8034494ee.tar.xz
PSP.git-0a014922be0ee9a11668751a956ceeb8034494ee.zip
gh-desktop error fix
-rw-r--r--Project/Electromechanical.cpp1
1 files changed, 1 insertions, 0 deletions
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) {