Skip to content

Commit

Permalink
Correct search string for variables name
Browse files Browse the repository at this point in the history
To extract the goals variables values from the output dataset,
Qucs writes some files in the extract/ directory defining, among other
things, the text string to search in the dataset to locate the variable.
ASCO does a SUBstring match, so the search string need also to contain
the string delimiter (a trailing space), otherwise it will match any
ither string starting with the same characters.
  • Loading branch information
in3otd committed Jan 22, 2016
1 parent d21da8b commit a005f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qucs/qucs/components/opt_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ bool Optimize_Sim::createASCOFiles()
stream << "#\n\n";
stream << "# Post Processing #\n";
stream << "MEASURE_VAR:#SYMBOL#:SEARCH_FOR:'<indep " << VarName
<< "':S_COL:01:P_LINE:01:P_COL:01:31" << "\n";
<< " ':S_COL:01:P_LINE:01:P_COL:01:31" << "\n";
stream << "#\n\n";
efile.close();
}
Expand Down

0 comments on commit a005f44

Please sign in to comment.