Skip to content

Commit

Permalink
bring to master to get tests partially working
Browse files Browse the repository at this point in the history
  • Loading branch information
bqpd committed Sep 7, 2019
1 parent d4d11d7 commit 88b4688
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gpkit/_mosek/cli_expopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def error_remove_read_only(func, path, exc):
func(path) # try again


def imize_fn(path=None, clearfiles=True):
def imize_fn(path=None):
"""Constructor for the MOSEK CLI solver function.
Arguments
Expand All @@ -33,7 +33,8 @@ def imize_fn(path=None, clearfiles=True):
The directory in which to put the MOSEK CLI input/output files.
By default uses a system-appropriate temp directory.
"""
if not path:
clearfiles = path is None
if path is None:
path = tempfile.mkdtemp()
filename = path + os.sep + "gpkit_mosek"
if "mosek_bin_dir" in settings:
Expand Down

0 comments on commit 88b4688

Please sign in to comment.