correction mauvaise longueur de a[]
This commit is contained in:
parent
1d363077da
commit
e569ab77bd
@ -48,7 +48,7 @@ int perfect_rolls() {
|
|||||||
|
|
||||||
int nb_coeffs = 4;
|
int nb_coeffs = 4;
|
||||||
double y1, y2, y3, y4;
|
double y1, y2, y3, y4;
|
||||||
int a[4] = {0};
|
int a[5] = {0};
|
||||||
glp_smcp params = {0};
|
glp_smcp params = {0};
|
||||||
glp_init_smcp(¶ms);
|
glp_init_smcp(¶ms);
|
||||||
params.msg_lev = GLP_MSG_OFF;
|
params.msg_lev = GLP_MSG_OFF;
|
||||||
|
@ -15,7 +15,7 @@ static void add_column_sp(glp_prob *lp, int *num_col_sp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void column_generator(int y1, int y2, int y3, int y4, int a[static 4]) {
|
void column_generator(int y1, int y2, int y3, int y4, int a[static 5]) {
|
||||||
glp_prob *sous_prob;
|
glp_prob *sous_prob;
|
||||||
int ia[1 + 1000];
|
int ia[1 + 1000];
|
||||||
int ja[1 + 1000];
|
int ja[1 + 1000];
|
||||||
|
Reference in New Issue
Block a user