Fix collecting of signals for S-Parameters analysis
(cherry picked from commit 006f93773c
)
This commit is contained in:
parent
7d5583f687
commit
14d71c8ca6
|
@ -901,8 +901,12 @@ void SIMULATOR_FRAME_UI::rebuildSignalsList()
|
||||||
|
|
||||||
const SIM_MODEL::PARAM* portNum = item.model->FindParam( "portnum" );
|
const SIM_MODEL::PARAM* portNum = item.model->FindParam( "portnum" );
|
||||||
|
|
||||||
if( portNum )
|
std::string portnum = "";
|
||||||
portnums.push_back( SIM_VALUE::ToSpice( portNum->value ) );
|
if( const SIM_MODEL::PARAM* portnum_param = item.model->FindParam( "portnum" ) )
|
||||||
|
portnum = SIM_VALUE::ToSpice( portnum_param->value );
|
||||||
|
|
||||||
|
if( portnum != "" )
|
||||||
|
portnums.push_back( portnum );
|
||||||
}
|
}
|
||||||
|
|
||||||
for( const std::string& portnum1 : portnums )
|
for( const std::string& portnum1 : portnums )
|
||||||
|
|
Loading…
Reference in New Issue