Browse Source
Fixed typo which lead to wrong symmetries for voting gates
tempestpy_adaptions
Matthias Volk
4 years ago
No known key found for this signature in database
GPG Key ID: 83A57678F739FCD3
1 changed files with
3 additions and
1 deletions
-
src/storm-dft/storage/dft/DFTIsomorphism.h
|
|
@ -491,7 +491,9 @@ namespace storage { |
|
|
|
// We can skip BEs, as they are identified by they're homomorphic if they are in the same class |
|
|
|
for(auto const& indexpair : bijection) { |
|
|
|
// Check type first. Colouring takes care of a lot, but not necesarily everything (e.g. voting thresholds) |
|
|
|
equalType(*dft.getElement(indexpair.first), *dft.getElement(indexpair.second)); |
|
|
|
if (!equalType(*dft.getElement(indexpair.first), *dft.getElement(indexpair.second))) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
if(dft.isGate(indexpair.first)) { |
|
|
|
STORM_LOG_ASSERT(dft.isGate(indexpair.second), "Element is no gate."); |
|
|
|
auto const& lGate = dft.getGate(indexpair.first); |
|
|
|