Browse Source

Simulator: Fix a ugly bug that happens is some simulations

TRhe initial code was broken.
6.0.7
jean-pierre charras 5 years ago
parent
commit
14b1d36b38
  1. 3
      eeschema/sim/ngspice.cpp

3
eeschema/sim/ngspice.cpp

@ -87,10 +87,11 @@ vector<string> NGSPICE::AllPlots() const
noOfPlots++;
retVal.reserve( noOfPlots );
for( int i = 0; i < noOfPlots; i++, allPlots++ )
{
string vec = *allPlots;
retVal.at( i ) = vec;
retVal.push_back( vec );
}
}

Loading…
Cancel
Save