Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bqpd committed Sep 4, 2019
1 parent 35fe62f commit 19e43a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gpkit/_mosek/expopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def c_array(py_array, c_type):


MOSEK_VERSION = settings["mosek_version"]
LIB = path.dirname(path.abspath(__file__)) + sep.join(["build, expopt.so"])
LIB = path.dirname(path.abspath(__file__)) + sep.join(["build", "expopt.so"])
MSK = ModuleShortener("MSK", load_library(LIB))

MSK_RES_OK = 0
Expand Down
3 changes: 1 addition & 2 deletions gpkit/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def look(self): # pylint: disable=too-many-return-statements
if not isfile(expopt_file):
return None
settings["mosek_bin_dir"] = self.bin_dir
settings["mosek_version"] = self.version
os.environ['PATH'] = os.environ['PATH'] + os.pathsep + self.bin_dir

return "version %s, installed to %s" % (self.version, rootdir)
Expand Down Expand Up @@ -262,8 +263,6 @@ def build(self):
if built_expopt_lib != 0:
return False

settings["mosek_version"] = self.version

return True


Expand Down

0 comments on commit 19e43a2

Please sign in to comment.