Fix crash when component is added to the circuit

This resolves bug reported in Debian BTS #493692
(cherry picked from commit 9b4c84b2f0)
v3.5.13-sru
Slávek Banko 12 years ago
parent 6f8853d29e
commit 322e38cdb4

@ -288,7 +288,7 @@ void Matrix::displayLU()
Map::Map( const uint size ) Map::Map( const uint size )
{ {
m_size = size; m_size = size;
m_map = new ETMap( m_size ); m_map = new ETMap( m_size, std::vector<uint>( m_size ) );
reset(); reset();
} }

Loading…
Cancel
Save