From f45dbb8a01035066c194f2f0bae8e40126e3e512 Mon Sep 17 00:00:00 2001 From: Bharath chandra Date: Sat, 16 Apr 2022 20:03:40 -0400 Subject: [PATCH] Update utils.py Correct typo --- ilqr/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ilqr/utils.py b/ilqr/utils.py index 02e7686..9cc7060 100644 --- a/ilqr/utils.py +++ b/ilqr/utils.py @@ -39,7 +39,7 @@ def Bounded(vars, high, low, *params): for i in range(len(vars)): diff = (high[i] - low[i])/2 cs.append((high[i] - vars[i])/diff) - cs.append((vars[i] - lowz[i])/diff) + cs.append((vars[i] - low[i])/diff) return Constrain(cs, *params)