Skip to content

Commit

Permalink
fix cvxopt runs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 20, 2018
1 parent 6bafbd3 commit 08b419f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gpkitmodels/GP/aircraft/wing/wing_test.py
Expand Up @@ -39,8 +39,7 @@ def wing_test():
from gpkit import settings
if settings["default_solver"] == "cvxopt":
for l in loading:
for v in ["\\bar{M}_{tip}", "\\bar{S}_{tip}",
"\\bar{\\delta}_{root}", "\\theta_{root}"]:
for v in ["Mtip", "Stip", "wroot", "throot"]:
l.substitutions[v] = 1e-3

m = Model(perf.Cd, [
Expand Down Expand Up @@ -68,8 +67,7 @@ def box_spar():
from gpkit import settings
if settings["default_solver"] == "cvxopt":
for l in loading:
for v in ["\\bar{M}_{tip}", "\\bar{S}_{tip}",
"\\bar{\\delta}_{root}", "\\theta_{root}"]:
for v in ["Mtip", "Stip", "wroot", "throot"]:
l.substitutions[v] = 1e-3

m = Model(perf.Cd, [
Expand Down

0 comments on commit 08b419f

Please sign in to comment.