mirror of https://github.com/YosysHQ/yosys.git
Update passes/silimate/opt_compact_prefix.cc
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
a730032f5f
commit
950cdf925c
|
|
@ -464,7 +464,7 @@ struct OptCompactPrefixPass : public Pass
|
|||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
if (args[argidx] == "-max_width" && argidx + 1 < args.size()) {
|
||||
max_width = std::stoi(args[++argidx]);
|
||||
max_width = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue