diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-03-17 12:33:32 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-03-17 12:33:32 +0100 |
commit | 9b4c84b2f012bb9ee8ceb0215484d76744ab60a7 (patch) | |
tree | 621468a827ee89b318282cb4901371a88aa5338c | |
parent | b1f96f3747575d577d32c3ee785ca2eedba27599 (diff) | |
download | ktechlab-9b4c84b2f012bb9ee8ceb0215484d76744ab60a7.tar.gz ktechlab-9b4c84b2f012bb9ee8ceb0215484d76744ab60a7.zip |
Fix crash when component is added to the circuit
This resolves bug reported in Debian BTS #493692
-rw-r--r-- | src/electronics/simulation/matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electronics/simulation/matrix.cpp b/src/electronics/simulation/matrix.cpp index fb1248f..0e9b167 100644 --- a/src/electronics/simulation/matrix.cpp +++ b/src/electronics/simulation/matrix.cpp @@ -288,7 +288,7 @@ void Matrix::displayLU() Map::Map( const uint size ) { m_size = size; - m_map = new ETMap( m_size ); + m_map = new ETMap( m_size, std::vector<uint>( m_size ) ); reset(); } |