sim - missing assignment

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

View File

@ -235,7 +235,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;