Minor fixes
Request to comments on pull request for simplex method. In particular *) while(1) is replaced with for(;;) *) if(true){...} constructions in tests are replaced with #if 1 ... #endif
This commit is contained in:
@@ -208,7 +208,7 @@ static int initialize_simplex(Mat_<double>& c, Mat_<double>& b,double& v,vector<
|
||||
|
||||
static int inner_simplex(Mat_<double>& c, Mat_<double>& b,double& v,vector<int>& N,vector<int>& B,vector<unsigned int>& indexToRow){
|
||||
int count=0;
|
||||
while(1){
|
||||
for(;;){
|
||||
dprintf(("iteration #%d\n",count));
|
||||
count++;
|
||||
|
||||
|
Reference in New Issue
Block a user