Skip to content

Commit d44c114

Browse files
committed
formatting
1 parent c3b0f75 commit d44c114

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

include/maxplus/base/fsm/fsm.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,6 @@ class SetOfEdgeRefs : public Abstract::SetOfEdgeRefs {
427427
public:
428428
};
429429

430-
431430
template <typename StateLabelType, typename EdgeLabelType>
432431
using StateRef = const State<StateLabelType, EdgeLabelType> *;
433432

@@ -658,7 +657,7 @@ class FiniteStateMachine : public Abstract::FiniteStateMachine {
658657
return this->states;
659658
};
660659

661-
[[nodiscard]] const SetOfEdges<StateLabelType, EdgeLabelType> &getEdges() const override {
660+
[[nodiscard]] const SetOfEdges<StateLabelType, EdgeLabelType> &getEdges() const override {
662661
return this->edges;
663662
};
664663

@@ -693,8 +692,9 @@ class FiniteStateMachine : public Abstract::FiniteStateMachine {
693692
return nullptr;
694693
};
695694

696-
void setEdgeLabel(const EdgeRef<StateLabelType, EdgeLabelType>& e, const EdgeLabelType& l) {
697-
auto ee = std::dynamic_pointer_cast<Edge<StateLabelType, EdgeLabelType>>((*this->edges.find(e->getId())).second);
695+
void setEdgeLabel(const EdgeRef<StateLabelType, EdgeLabelType> &e, const EdgeLabelType &l) {
696+
auto ee = std::dynamic_pointer_cast<Edge<StateLabelType, EdgeLabelType>>(
697+
(*this->edges.find(e->getId())).second);
698698
ee->setLabel(l);
699699
}
700700

include/maxplus/graph/mpstatespace.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ using ELSEdgeRef = ::FSM::Labeled::EdgeRef<CId, MPString>;
5555
using ELSSetOfStates = ::FSM::Labeled::SetOfStates<CId, MPString>;
5656
using ELSSetOfEdges = ::FSM::Labeled::SetOfEdges<CId, MPString>;
5757

58-
5958
using MLSEdgeLabel = struct MLSEdgeLabel {
6059
Matrix *mat;
6160
CDouble rew;
@@ -66,7 +65,6 @@ using MLSEdge = ::FSM::Labeled::Edge<CId, MLSEdgeLabel>;
6665
using MLSSetOfStates = ::FSM::Labeled::SetOfStates<CId, MLSEdgeLabel>;
6766
using MLSSetOfEdges = ::FSM::Abstract::SetOfEdges;
6867

69-
7068
} // namespace MaxPlus
7169

7270
#endif // MAXPLUS_GRAPH_MPSTATESPACE_H

0 commit comments

Comments
 (0)