summaryrefslogtreecommitdiff
path: root/macros/symphony_mat.sci
diff options
context:
space:
mode:
authorHarpreet2015-10-20 14:23:25 +0530
committerHarpreet2015-10-20 14:23:25 +0530
commite4b59ea62dd9903445375c2aa1f52a52c5eab99f (patch)
treed761e8819990b031344e58c9016562bea157c05b /macros/symphony_mat.sci
parente34332a406e4f3fba9b99c6f9ec5138edfcc6aa2 (diff)
downloadFOSSEE-Optimization-toolbox-e4b59ea62dd9903445375c2aa1f52a52c5eab99f.tar.gz
FOSSEE-Optimization-toolbox-e4b59ea62dd9903445375c2aa1f52a52c5eab99f.tar.bz2
FOSSEE-Optimization-toolbox-e4b59ea62dd9903445375c2aa1f52a52c5eab99f.zip
qpipopt_mat added
Diffstat (limited to 'macros/symphony_mat.sci')
-rw-r--r--macros/symphony_mat.sci2
1 files changed, 1 insertions, 1 deletions
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