Commit a878d5bd authored by M.J.P.Wijngaarden's avatar M.J.P.Wijngaarden
Browse files

Fix index error on exit

parent 119cca6c
...@@ -1186,7 +1186,7 @@ int main(int argc, char *argv[]) ...@@ -1186,7 +1186,7 @@ int main(int argc, char *argv[])
{ {
free_model(model[ic], data, prior); free_model(model[ic], data, prior);
free(model[ic]); free(model[ic]);
gsl_rng_free(chain->rvec[i]); gsl_rng_free(chain->rvec[ic]);
} }
free(model); free(model);
free_chain(chain,NI,data->Npol); free_chain(chain,NI,data->Npol);
......
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