Browse Source

Fixed a few warnings

tempestpy_adaptions
TimQu 6 years ago
parent
commit
ca828729ff
  1. 6
      src/storm/generator/TransientVariableInformation.cpp
  2. 1
      src/storm/storage/jani/ArrayEliminator.cpp

6
src/storm/generator/TransientVariableInformation.cpp

@ -175,9 +175,9 @@ namespace storm {
} }
} }
template class TransientVariableInformation<double>;
template class TransientVariableInformation<storm::RationalNumber>;
template class TransientVariableInformation<storm::RationalFunction>;
template struct TransientVariableInformation<double>;
template struct TransientVariableInformation<storm::RationalNumber>;
template struct TransientVariableInformation<storm::RationalFunction>;
} }
} }

1
src/storm/storage/jani/ArrayEliminator.cpp

@ -614,7 +614,6 @@ namespace storm {
} }
void insertLValueArrayAccessReplacements(std::vector<Assignment const*> const& arrayAccesses, std::vector<storm::jani::Variable const*> const& arrayVariableReplacements, int64_t level, std::vector<Assignment>& newAssignments) const { void insertLValueArrayAccessReplacements(std::vector<Assignment const*> const& arrayAccesses, std::vector<storm::jani::Variable const*> const& arrayVariableReplacements, int64_t level, std::vector<Assignment>& newAssignments) const {
storm::expressions::Variable const& arrayVariable = arrayAccesses.front()->getLValue().getArray().getExpressionVariable();
bool onlyConstantIndices = true; bool onlyConstantIndices = true;
for (auto const& aa : arrayAccesses) { for (auto const& aa : arrayAccesses) {
if (aa->getLValue().getArrayIndex().containsVariables()) { if (aa->getLValue().getArrayIndex().containsVariables()) {

Loading…
Cancel
Save