Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#1252 from rdeits/rd-java-path
Browse files Browse the repository at this point in the history
check for mosek earlier because global state is bad
  • Loading branch information
RussTedrake committed Aug 16, 2015
2 parents 383a923 + 2b29e5d commit 4fbd979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drake/examples/Quadrotor/MISOSTrajectoryProblem.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
% safe_region_assignments directly from the prior output.
% @retval ytraj a PPTrajectory

mosek_found = checkDependency('mosek'); % we have to do this now, before we create any yalmip variables. Otherwise adding the mosek .jar to the java classpath with clear all of yalmip's internal state. Ew.
checkDependency('yalmip');
if nargin < 5
safe_region_assignments = [];
Expand Down

0 comments on commit 4fbd979

Please sign in to comment.