Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRiel committed Dec 2, 2024
1 parent e607e6f commit 93b22ec
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/MAGEMin.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ global_variable SetupDatabase( global_variable gv,

}

if (gv.verbose == 1){
if (gv.verbose == 2){
printf("\n");
printf("--verbose : verbose = %i \n", gv.verbose );
printf("--rg : research group = %s \n", gv.research_group );
Expand Down
1 change: 0 additions & 1 deletion src/TC_database/objective_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -5645,7 +5645,6 @@ double obj_mp_sp(unsigned n, const double *x, double *grad, void *SS_ref_db){
sf[3] = 1.0 - x[0];
sf[4] = x[0];


mu[0] = R*T*creal(clog(sf[0]*sf[4])) + gb[0] + mu_Gex[0];
mu[1] = R*T*creal(clog(sf[0]*sf[3])) + gb[1] + mu_Gex[1];
mu[2] = R*T*creal(clog(sf[4]*sf[1] + d_em[2])) + gb[2] + mu_Gex[2];
Expand Down
2 changes: 1 addition & 1 deletion src/initialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ bulk_info reset_z_b_bulk( global_variable gv,
z_b.zEl_array[i] = 0.0;
z_b.bulk_rock[i] = gv.bulk_rock[i];
// if (gv.bulk_rock[i] > 0.0){
if (gv.bulk_rock[i] != 0.0){
if (gv.bulk_rock[i] != 0.0 ){ //|| gv.O_id == i
sum += 1;
}
}
Expand Down
Loading

0 comments on commit 93b22ec

Please sign in to comment.