From e4b59ea62dd9903445375c2aa1f52a52c5eab99f Mon Sep 17 00:00:00 2001 From: Harpreet Date: Tue, 20 Oct 2015 14:23:25 +0530 Subject: qpipopt_mat added --- macros/symphony_mat.sci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/symphony_mat.sci') diff --git a/macros/symphony_mat.sci b/macros/symphony_mat.sci index 068e9cf..b30d84d 100644 --- a/macros/symphony_mat.sci +++ b/macros/symphony_mat.sci @@ -153,7 +153,7 @@ function [xopt,fopt,status,iter] = symphony_mat (varargin) [lhs , rhs] = argn(); //To check the number of argument given by user - if ( rhs < 4 | rhs = 5 | rhs = 7 | rhs > 9 ) then + if ( rhs < 4 | rhs == 5 | rhs == 7 | rhs > 9 ) then errmsg = msprintf(gettext("%s: Unexpected number of input arguments : %d provided while should be in the set [4 6 8 9]"), "Symphony", rhs); error(errmsg) end -- cgit