summaryrefslogtreecommitdiff
path: root/src/corr_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/corr_test.c')
-rw-r--r--src/corr_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corr_test.c b/src/corr_test.c
index 3d56c07..b6f8a18 100644
--- a/src/corr_test.c
+++ b/src/corr_test.c
@@ -7,14 +7,14 @@ int main() {
unsigned int width = 64;
- graph_t *network = graph_create(VORONOI_LATTICE, TORUS_BOUND, 64, false, &c);
- net_t *instance = net_create(network, 1e-14, 0.5, 0, true, &c);
+ graph_t *network = graph_create(VORONOI_LATTICE, TORUS_BOUND, 128, false, &c);
+ net_t *instance = net_create(network, 1e-14, 3, 0, true, &c);
net_fracture(instance, &c, 1e-10);
double *corr = get_corr(instance, NULL, &c);
for (int i = 0; i < 2 * width; i++) {
- printf("%f ", corr[i]);
+ printf("%g ", corr[i]);
}
printf("\n");