Skip to content
Snippets Groups Projects
Commit b223b78f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Corrected typo in the debugging checks for cosmology

parent 0aeeff5a
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ static INLINE double E(double Or, double Om, double Ok, double Ol, double w0,
double cosmology_get_time_since_big_bang(const struct cosmology *c, double a) {
#ifdef SWIFT_DEBUG_CHECKS
if (a < a_begin) error("Error a can't be smaller than a_begin");
if (a < c->a_begin) error("Error a can't be smaller than a_begin");
#endif
/* Time between a_begin and a */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment