Skip to content

Commit

Permalink
Fixes #626 why not export model if solver isn't available?
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Löfberg committed May 16, 2024
1 parent cad9f07 commit 461dd81
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions extras/export.m
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,8 @@
end
options.solver = lower(options.solver);

if nargin<6
if isequal(options.solver,'')
findallsolvers = 1;
else
findallsolvers = 0;
end
if nargin<6
findallsolvers = 1;
else
findallsolvers = varargin{6};
end
Expand Down

0 comments on commit 461dd81

Please sign in to comment.