Convert inline models in Sim.Params fields to SPICE syntax.

Fixes https://gitlab.com/kicad/code/kicad/issues/14157

(cherry picked from commit 14f1f3ec79)
This commit is contained in:
Jeff Young 2023-03-03 18:17:42 +00:00
parent bbdb5eb6e3
commit 94ec6cc362
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ std::string SPICE_GENERATOR_RAW_SPICE::ItemParams() const
for( const SIM_MODEL::PARAM& param : GetInstanceParams() )
{
if( param.info.name == "model" )
result.append( " " + param.value );
result.append( " " + SIM_VALUE::ToSpice( param.value ) );
}
return result;