Fix array indexing warning in y2014 claw.
Numpy has moved on since we wrote that code. Another warning gone.
Change-Id: Idb0774bf75bbdea44c7281fdf00f231b0865f2bd
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2014/control_loops/python/claw.py b/y2014/control_loops/python/claw.py
index 488d792..94e1227 100755
--- a/y2014/control_loops/python/claw.py
+++ b/y2014/control_loops/python/claw.py
@@ -140,8 +140,8 @@
numpy.matrix([[self.A[1, 2]],
[self.A[3, 2]]]),
rcond=None)[0]
- self.K[1, 2] = -lstsq_A[0, 0] * (self.K[0, 2] -
- out_x[0]) / lstsq_A[0, 1] + out_x[1]
+ self.K[1, 2] = -lstsq_A[0, 0] * (
+ self.K[0, 2] - out_x[0, 0]) / lstsq_A[0, 1] + out_x[1, 0]
glog.debug('K unaugmented')
glog.debug(str(self.K))