Browse Source

Fixed warning resulting from wrong initialization order.

Former-commit-id: b773000369
tempestpy_adaptions
dehnert 11 years ago
parent
commit
4cdf1e6b7a
  1. 6
      src/models/AbstractModel.h

6
src/models/AbstractModel.h

@ -42,11 +42,11 @@ class AbstractModel: public std::enable_shared_from_this<AbstractModel<T>> {
* @param other The Source Abstract Model * @param other The Source Abstract Model
*/ */
AbstractModel(AbstractModel<T> const& other) AbstractModel(AbstractModel<T> const& other)
: transitionMatrix(other.transitionMatrix),
: transitionMatrix(other.transitionMatrix),
choiceLabeling(other.choiceLabeling),
stateLabeling(other.stateLabeling), stateLabeling(other.stateLabeling),
stateRewardVector(other.stateRewardVector), stateRewardVector(other.stateRewardVector),
transitionRewardMatrix(other.transitionRewardMatrix),
choiceLabeling(other.choiceLabeling) {
transitionRewardMatrix(other.transitionRewardMatrix) {
// Intentionally left empty. // Intentionally left empty.
} }

Loading…
Cancel
Save