Browse Source

redundant namespace refs rm

tempestpy_adaptions
tomjanson 9 years ago
committed by Tom Janson
parent
commit
4bc9266416
  1. 6
      src/utility/shortestPaths.cpp

6
src/utility/shortestPaths.cpp

@ -128,8 +128,8 @@ namespace storm {
// the existing Dijkstra isn't working anyway AND // the existing Dijkstra isn't working anyway AND
// doesn't fully meet our requirements, so let's roll our own // doesn't fully meet our requirements, so let's roll our own
T inftyDistance = utility::zero<T>();
T zeroDistance = utility::one<T>();
T inftyDistance = zero<T>();
T zeroDistance = one<T>();
shortestPathDistances.resize(numStates, inftyDistance); shortestPathDistances.resize(numStates, inftyDistance);
shortestPathPredecessors.resize(numStates, boost::optional<state_t>()); shortestPathPredecessors.resize(numStates, boost::optional<state_t>());
@ -232,7 +232,7 @@ namespace storm {
// there is no such edge // there is no such edge
// let's disallow that for now, because I'm not expecting it to happen // let's disallow that for now, because I'm not expecting it to happen
assert(false); assert(false);
return utility::zero<T>();
return zero<T>();
} else { } else {
// edge must be "virtual edge" to meta-target // edge must be "virtual edge" to meta-target
assert(isMetaTargetPredecessor(tailNode)); assert(isMetaTargetPredecessor(tailNode));

Loading…
Cancel
Save