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[])
{
free_model(model[ic], data, prior);
free(model[ic]);
gsl_rng_free(chain->rvec[i]);
gsl_rng_free(chain->rvec[ic]);
}
free(model);
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