mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-04 14:25:47 +00:00
stoi -> atoi
This commit is contained in:
parent
ee7c970367
commit
48d0f99406
41 changed files with 121 additions and 121 deletions
|
@ -240,11 +240,11 @@ struct Pmux2ShiftxPass : public Pass {
|
|||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
if (args[argidx] == "-min_density" && argidx+1 < args.size()) {
|
||||
min_density = std::stoi(args[++argidx]);
|
||||
min_density = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-min_choices" && argidx+1 < args.size()) {
|
||||
min_choices = std::stoi(args[++argidx]);
|
||||
min_choices = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-onehot" && argidx+1 < args.size() && args[argidx+1] == "ignore") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue