3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-11 21:50:54 +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:
Krystine Sherwin 2025-08-08 12:22:07 +12:00
parent fcd9f98245
commit e02f4469c0
No known key found for this signature in database

View file

@ -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);