Skip to content

Commit

Permalink
make return type consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
whoburg committed Jan 5, 2024
1 parent 95276b6 commit 8a36ce1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gpkit/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def look(self):
import cvxopt # pylint: disable=unused-import
return "in the default PYTHONPATH"
except ImportError:
pass
return ""


class MosekConif(SolverBackend):
Expand All @@ -168,9 +168,9 @@ def look(self):
import mosek
if hasattr(mosek.conetype, "pexp"):
return "in the default PYTHONPATH"
return None
return ""
except ImportError:
pass
return ""

def build():
"Builds GPkit"
Expand Down

0 comments on commit 8a36ce1

Please sign in to comment.