mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 12:11:24 +00:00
stoi -> atoi
This commit is contained in:
parent
ee7c970367
commit
48d0f99406
41 changed files with 121 additions and 121 deletions
|
@ -730,11 +730,11 @@ struct TestCellPass : public Pass {
|
|||
for (argidx = 1; argidx < GetSize(args); argidx++)
|
||||
{
|
||||
if (args[argidx] == "-n" && argidx+1 < GetSize(args)) {
|
||||
num_iter = std::stoi(args[++argidx]);
|
||||
num_iter = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-s" && argidx+1 < GetSize(args)) {
|
||||
xorshift32_state = std::stoi(args[++argidx]);
|
||||
xorshift32_state = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-map" && argidx+1 < GetSize(args)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue