Commit 9bb25a1b authored by Dr.李's avatar Dr.李

fixed test

parent 3a75d3cf
...@@ -137,7 +137,7 @@ class TestConstraints(unittest.TestCase): ...@@ -137,7 +137,7 @@ class TestConstraints(unittest.TestCase):
backbone=backbone) backbone=backbone)
l_bounds, u_bounds = constraints.risk_targets() l_bounds, u_bounds = constraints.risk_targets()
risk_exp = constraints.risk_exp() risk_exp = constraints.risk_exp
for i, name in enumerate(names): for i, name in enumerate(names):
center = risk_exp[:, i] @ backbone center = risk_exp[:, i] @ backbone
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment