Skip to content

Commit f00041d

Browse files
committed
Continue fixing github actions, debugging lpsolver typo
1 parent 6c261f7 commit f00041d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/nnv/engine/utils/lpsolver.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
lp_solver = 'linprog'; % default solver, sometimes fails with mpt, so glpk as backup
1313
end
1414

15-
if ~exist('optimoptions', 'file') || ~any(strcmp({ver.Name}, 'Optimization Toolbox')) || ~license('test','Optimization_Toolbox')
15+
if ~exist('optimoptions', 'file') || ~any(strcmp({ver().Name}, 'Optimization Toolbox')) || ~license('test','Optimization_Toolbox')
1616
lp_solver = 'glpk'; % no optimoptions, so no linprog
1717
end
1818

0 commit comments

Comments
 (0)