[wpimath] Fix m_nextR instantiation in LinearSystemLoop ctor (#2783)

This commit is contained in:
Prateek Machiraju
2020-10-17 19:44:55 -04:00
committed by GitHub
parent 7c8f1cf7af
commit 07ac5370d8

View File

@@ -131,7 +131,7 @@ public class LinearSystemLoop<States extends Num, Inputs extends Num,
this.m_observer = observer;
this.m_clampFunction = clampFunction;
m_nextR = new Matrix<>(new SimpleMatrix(controller.getK().getNumCols(), 0));
m_nextR = new Matrix<>(new SimpleMatrix(controller.getK().getNumCols(), 1));
reset(m_nextR);
}