Skip to content

Commit

Permalink
Fixed comment processing for touchstone #392
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Dec 4, 2023
1 parent 759c0a1 commit 0757416
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qucs/extsimkernels/s2spice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ bool S2Spice::convertTouchstone(QTextStream *stream)
while(in_stream.readLineInto(&next_line)) {
if(next_line.isEmpty()) continue;
if(next_line.at(0)=='#') continue;
if(next_line.at(0)=='!') continue;
tmp_lst = next_line.split(" ", qucs::SkipEmptyParts);
numf = f + 1;
freqs[f] = tmp_lst.at(0).toDouble();
Expand Down

0 comments on commit 0757416

Please sign in to comment.