sim - missing assignment

This commit is contained in:
Fabien Corona 2023-02-18 15:36:47 +00:00
parent a4a859f47b
commit 17241b3543
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ std::string SPICE_GENERATOR_SOURCE::getParamValueString( const std::string& aPar
std::string result = "";
if ( m_model.FindParam( aParamName ) )
m_model.FindParam( aParamName )->value->ToSpiceString();
result = m_model.FindParam( aParamName )->value->ToSpiceString();
if( result == "" )
result = aDefaultValue;