{"push_id":1352889586,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"deff1425c1c184d89cae590922187910a6341795","before":"6cd44733097c771f26288750ea22b9cd864e7adf","commits":[{"sha":"540177136209b1eff76517e0f97341999eea8dd8","author":{"name":"Peter Williams","email":"6214814a67b9688a08e8c6dc7fa5dee076dddc8d@newton.cx"},"message":"src/integrator/integrate.c: restore the GSL error handler after disabling it","distinct":true,"url":"https://api.github.com/repos/AFD-Illinois/symphony/commits/540177136209b1eff76517e0f97341999eea8dd8"},{"sha":"15e0c51367dcff2447f08e72547e37581a60f6d5","author":{"name":"Peter Williams","email":"6214814a67b9688a08e8c6dc7fa5dee076dddc8d@newton.cx"},"message":"Add the ability to report errors, and use it to not abort when GSL errors out.\n\nThe basic scheme is that j_nu() and alpha_nu() now take a final argument `char\n**error_message`. When an error occurs, `*error_message` is set to point at a\nstring explaining the error. The Python bindings now use this parameter to\nraise a RuntimeError if the calculation fails. Basic usage:\n\n  {\n     char *error_message = NULL;\n     double value = j_nu (...., &error_message);\n     if (error_message != NULL) {\n       printf (\"error: %s\\n\", error_message);\n       free (error_message);\n       return;\n     }\n     ...\n  }\n\nFurthermore, we now also set the GSL error handler function to record errors\nusing this mechanism. Therefore, if (e.g.) an integration fails, you end up\ngetting NAN out, rather than having your program crash. And when calling the\ncode from Python, you'll get a RuntimeError. This seems far preferable to just\ncrashing, which is what the default GSL error handler does.","distinct":true,"url":"https://api.github.com/repos/AFD-Illinois/symphony/commits/15e0c51367dcff2447f08e72547e37581a60f6d5"},{"sha":"e3a25d8c2e21137f0c796f79bcf12f6357d3cfb1","author":{"name":"Peter Williams","email":"6214814a67b9688a08e8c6dc7fa5dee076dddc8d@newton.cx"},"message":"src/symphonyPy.pyx: fix typo that snuck in\n\nD'oh.","distinct":true,"url":"https://api.github.com/repos/AFD-Illinois/symphony/commits/e3a25d8c2e21137f0c796f79bcf12f6357d3cfb1"},{"sha":"deff1425c1c184d89cae590922187910a6341795","author":{"name":"Mani Chandra","email":"e15d83a5dd1b8650b6a0c5b560981256919c0aed@illinois.edu"},"message":"Merge pull request #6 from pkgw/pr-no-aborts\n\nOn GSL errors, return error messages and raise Python exceptions, rather than aborting","distinct":true,"url":"https://api.github.com/repos/AFD-Illinois/symphony/commits/deff1425c1c184d89cae590922187910a6341795"}]}
{"actor":{"display_login":"mchandra"}}