Convert inline models in Sim.Params fields to SPICE syntax.
Fixes https://gitlab.com/kicad/code/kicad/issues/14157
This commit is contained in:
parent
2fb24347ad
commit
14f1f3ec79
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue