mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-12 06:00:55 +00:00
equiv_simple: Avoid std::array
VS build currently failing with `error C2641: cannot deduce template arguments for 'std::array'`. Changing to `std::array<Cone, 2>` gives `error C2027: use of undefined type` instead.
This commit is contained in:
parent
fcd9f98245
commit
e02f4469c0
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ struct EquivSimpleWorker
|
|||
assume_seed.insert(model.sigmap(assume->getPort(ID::A)).as_bit());
|
||||
assume_seed.insert(model.sigmap(assume->getPort(ID::EN)).as_bit());
|
||||
|
||||
for (auto& cone : std::array{cone_a, cone_b}) {
|
||||
for (auto& cone : {cone_a, cone_b}) {
|
||||
Cone assume_cone;
|
||||
ConeFinder{model, dummy_next_seed, assume_cone, cone, &overlap_bits}
|
||||
.find_input_cone(assume_seed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue