Commit b223b78f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Corrected typo in the debugging checks for cosmology

parent 0aeeff5a
......@@ -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 */
......
Supports Markdown
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