Commit 75e86405 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix uninitialized values

parent 10bf372f
...@@ -387,7 +387,7 @@ void MnaSolver<VarType>::steadyStateInitialization() { ...@@ -387,7 +387,7 @@ void MnaSolver<VarType>::steadyStateInitialization() {
Int timeStepCount = 0; Int timeStepCount = 0;
Real time = 0; Real time = 0;
Real eps = 0.0001; Real eps = 0.0001;
Real maxDiff, max; Real maxDiff = 0, max = 0;
Matrix diff; Matrix diff;
Matrix prevLeftSideVector = Matrix::Zero(2 * mNumNodes, 1); Matrix prevLeftSideVector = Matrix::Zero(2 * mNumNodes, 1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment