Skip to content

Commit 809782e

Browse files
EtienneAredantec
authored andcommitted
Remove dead code (commented)
1 parent b1cf6c4 commit 809782e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/ocp-handler.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,6 @@ namespace simple_mpc
6969
return qc->getTarget();
7070
}
7171

72-
/* void OCPHandler::setReferenceState(const ConstVectorRef & x_ref)
73-
{
74-
assert(x_ref.size() == x0_.size() && "x_ref not of the right size");
75-
x0_ = x_ref;
76-
}
77-
78-
ConstVectorRef OCPHandler::getReferenceState()
79-
{
80-
return x0_;
81-
} */
82-
8372
CostStack * OCPHandler::getCostStack(std::size_t t)
8473
{
8574
if (t >= getSize())

0 commit comments

Comments
 (0)