#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <assert.h>
#include "typedefs.h"
#include "smalloc.h"
dtc = ir->nsttcouple*ir->delta_t;
opts = &(ir->opts); /* just for ease of referencing */
ngtc = opts->ngtc;
+ assert(ngtc>0);
snew(scalefac,opts->ngtc);
for (i=0;i<ngtc;i++)
{