summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpants <jaron@kent-dobias.com>2016-09-09 14:57:51 -0400
committerpants <jaron@kent-dobias.com>2016-09-09 14:57:51 -0400
commit075347d995342171735b95ef3fff30f94f48fdf7 (patch)
treea19b164c607531d9dff3b7fc90242ff19a7db1a3 /src
parent265704951eb4736a4ef7eb267884837185bd4a15 (diff)
downloadfuse_networks-075347d995342171735b95ef3fff30f94f48fdf7.tar.gz
fuse_networks-075347d995342171735b95ef3fff30f94f48fdf7.tar.bz2
fuse_networks-075347d995342171735b95ef3fff30f94f48fdf7.zip
changed corr_test
Diffstat (limited to 'src')
-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");