Browse Source

fix computation of generator matrix, pointed out by jklein

tempestpy_adaptions
dehnert 7 years ago
parent
commit
62e493d978
  1. 2
      src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp

2
src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp

@ -722,7 +722,7 @@ namespace storm {
for (uint_fast64_t row = 0; row < generatorMatrix.getRowCount(); ++row) {
for (auto& entry : generatorMatrix.getRow(row)) {
if (entry.getColumn() == row) {
entry.setValue(-exitRates[row]);
entry.setValue(exitRates[row] - entry.getValue());
}
}
}

Loading…
Cancel
Save