Commit 3d65b36e authored by Olivier Lantsoght's avatar Olivier Lantsoght

[Fix] warning or error use `used unitialized variable` mbs_data->process in...

[Fix] warning or error use `used unitialized variable` mbs_data->process in userjointforce when doing equilibrium.
parent e221cefd
......@@ -61,7 +61,7 @@ int main(int argc, char const *argv[])
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
/* COORDINATE PARTITIONING *
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
mbs_data->process = 1;
mbs_part = mbs_new_part(mbs_data);
mbs_part->options->rowperm=1;
mbs_part->options->verbose = 1;
......@@ -73,7 +73,7 @@ int main(int argc, char const *argv[])
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
/* EQUILIBRIUM *
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
mbs_data->process = 2;
mbs_equil = mbs_new_equil(mbs_data);
// dirdyn options (see documentations for additional options)
mbs_equil->options->method = 1;
......
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