Commit 2f06848b authored by Olivier Lantsoght's avatar Olivier Lantsoght 🏁

Merge branch 'mac_remove_warnings_release_1.11.2' into 'release_1.11.2'

[Fix] [Warnings][Mac] see issue #151

See merge request !245
parents dd7de66d 3d1d1e66
Pipeline #5028 passed with stages
in 13 minutes and 14 seconds
......@@ -51,7 +51,7 @@ MbsEquil* mbs_new_equil_aux(MbsData* mbs_data, MbsAux* mbs_aux)
equil->nx = 0;
equil->x = NULL;
equil->nxs;
equil->nxs = 0;
equil->xs = NULL;
equil->nxns = 0;
equil->xns = NULL;
......
......@@ -193,7 +193,7 @@ int mbs_lut_res_interp(MbsLutRes *lut, double t, double *coord)
// checking time validity
if (lut->tq[max][0] < t || lut->tq[min][0] > t){ // Error management
mbs_msg("\t >LOOK UP TABLE> error in mbs_lut_res_interp. Requested time is outside the domain of the provided file.\n");
mbs_msg("\t > Time is %f, min. and max. time allowed are %f and %f.\n",t, lut->tq[min, 0], lut->tq[max, 0]);
mbs_msg("\t > Time is %f, min. and max. time allowed are %f and %f.\n",t, lut->tq[min][0], lut->tq[max][0]);
return -2;
}
// checking easy solution
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment