Skip to content

Commit 3896335

Browse files
committed
typing inconsistencies
1 parent 42cd79f commit 3896335

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

include/maxplus/base/fsm/fsm.h

+6
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,12 @@ class SetOfEdges : public Abstract::SetOfEdges {
422422
using CIter = typename Abstract::SetOfEdges::const_iterator;
423423
};
424424

425+
template <typename StateLabelType, typename EdgeLabelType>
426+
class SetOfEdgeRefs : public Abstract::SetOfEdgeRefs {
427+
public:
428+
};
429+
430+
425431
template <typename StateLabelType, typename EdgeLabelType>
426432
using StateRef = const State<StateLabelType, EdgeLabelType> *;
427433

include/maxplus/graph/mpautomaton.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ using MPAEdgeRef = ::FSM::Labeled::EdgeRef<MPAStateLabel, MPAEdgeLabel>;
150150
using MPAPath = std::list<MPAEdgeRef>;
151151
using MPASetOfStates = ::FSM::Labeled::SetOfStates<MPAStateLabel, MPAEdgeLabel>;
152152
using MPASetOfStateRefs = ::FSM::Labeled::SetOfStateRefs<MPAStateLabel, MPAEdgeLabel>;
153-
using MPASetOfEdges = ::FSM::Abstract::SetOfEdges;
154-
using MPASetOfEdgeRefs = ::FSM::Abstract::SetOfEdgeRefs;
153+
using MPASetOfEdges = ::FSM::Labeled::SetOfEdges<MPAStateLabel, MPAEdgeLabel>;
154+
using MPASetOfEdgeRefs = ::FSM::Labeled::SetOfEdgeRefs<MPAStateLabel, MPAEdgeLabel>;
155155

156156
/**
157157
* A max-plus automaton

0 commit comments

Comments
 (0)