Skip to content

Commit

Permalink
Fix BJT_SPICE device #391
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Dec 2, 2023
1 parent 06a82a1 commit 759c0a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qucs/spicecomponents/BJT_SPICE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ QString BJT_SPICE::spice_netlist(bool)
s += " "+ nam+" "; // node names
}

QString Q= Props.at(2)->Value;
QString Q_Line_2= Props.at(3)->Value;
QString Q_Line_3= Props.at(4)->Value;
QString Q_Line_4= Props.at(5)->Value;
QString Q_Line_5= Props.at(6)->Value;
QString Q= Props.at(3)->Value;
QString Q_Line_2= Props.at(4)->Value;
QString Q_Line_3= Props.at(5)->Value;
QString Q_Line_4= Props.at(6)->Value;
QString Q_Line_5= Props.at(7)->Value;

if( Q.length() > 0) s += QString("%1").arg(Q);
if( Q_Line_2.length() > 0 ) s += QString("\n%1").arg(Q_Line_2);
Expand Down

0 comments on commit 759c0a1

Please sign in to comment.