Browse Source

Fixed compile issue on Linux

tempestpy_adaptions
Matthias Volk 6 years ago
parent
commit
75cfa17966
  1. 2
      src/storm-dft/storage/dft/DFTIsomorphism.h

2
src/storm-dft/storage/dft/DFTIsomorphism.h

@ -309,7 +309,7 @@ namespace storage {
case storm::storage::DFTElementType::BE_CONST: case storm::storage::DFTElementType::BE_CONST:
{ {
auto beConst = std::static_pointer_cast<BEConst<ValueType> const>(be); auto beConst = std::static_pointer_cast<BEConst<ValueType> const>(be);
depColour[dep->id()] = std::pair<ValueType, ValueType>(dep->probability(), beConst->failed());
depColour[dep->id()] = std::pair<ValueType, ValueType>(dep->probability(), beConst->failed() ? storm::utility::one<ValueType>() : storm::utility::zero<ValueType>());
break; break;
} }
default: default:

Loading…
Cancel
Save