Apply DC voltage source exception to current sources.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15626
This commit is contained in:
parent
93f004ff65
commit
4a59f0de43
|
@ -73,7 +73,8 @@ std::string SPICE_GENERATOR_SOURCE::ItemLine( const SPICE_ITEM& aItem ) const
|
|||
}
|
||||
|
||||
if( m_model.GetSpiceInfo().inlineTypeString != ""
|
||||
&& m_model.GetType() != SIM_MODEL::TYPE::V ) // DC-only sources are already processed
|
||||
&& m_model.GetType() != SIM_MODEL::TYPE::V // DC-only sources are already processed
|
||||
&& m_model.GetType() != SIM_MODEL::TYPE::I )
|
||||
{
|
||||
std::string args = "";
|
||||
|
||||
|
|
Loading…
Reference in New Issue