commit | 5ea4847bca8761315dd52f71edca8e047996bd09 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Tue Feb 02 20:46:41 2021 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Tue Feb 02 20:48:05 2021 -0800 |
tree | fce59761885d417156bc6be90c5ef02b2d99d910 | |
parent | 56ccbc006c6c33c954df6c27eb280e0377d9e308 [diff] [blame] |
Fix some python2-isms in prep for python3 These ones should work in both versions so we don't have to do them as part of a global change over. Change-Id: I2177b329d385c50d706a50a750b6c115ea3ea7ae
diff --git a/y2017/control_loops/python/indexer.py b/y2017/control_loops/python/indexer.py index 53b856c..0c5cb6b 100755 --- a/y2017/control_loops/python/indexer.py +++ b/y2017/control_loops/python/indexer.py
@@ -215,7 +215,7 @@ else: initial_t = 0 - for i in xrange(iterations): + for i in range(iterations): X_hat = indexer.X if observer_indexer is not None: