blob: 61a419ff5b0fda146177dd3b1d77581620cc345d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
common.c
includes most of the modules
this file is part of Cuhre
last modified 7 Jun 10 th
*/
#include "ChiSquare.c"
#include "Rule.c"
static inline bool BadDimension(cThis *t)
{
if( t->ndim > NDIM ) return true;
return t->ndim < 2;
}
static inline bool BadComponent(cThis *t)
{
if( t->ncomp > NCOMP ) return true;
return t->ncomp < 1;
}
#include "Integrate.c"
|