diff options
author | mwturvey <michael.w.turvey@intel.com> | 2017-02-21 13:44:59 -0700 |
---|---|---|
committer | mwturvey <michael.w.turvey@intel.com> | 2017-02-21 13:44:59 -0700 |
commit | 27b29c8ec4247dca2d303f4b1ccb29f26b864010 (patch) | |
tree | 7462a2451685e01a3837ab798f1f9eeaa80d4f63 | |
parent | 8e7ddd9c728f43aa1189f3add99adbb3ba8a74f1 (diff) | |
download | libsurvive-27b29c8ec4247dca2d303f4b1ccb29f26b864010.tar.gz libsurvive-27b29c8ec4247dca2d303f4b1ccb29f26b864010.tar.bz2 |
Comment out some debug code
-rw-r--r-- | tools/lighthousefind_tori/main.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/lighthousefind_tori/main.c b/tools/lighthousefind_tori/main.c index bf10820..d3a9f27 100644 --- a/tools/lighthousefind_tori/main.c +++ b/tools/lighthousefind_tori/main.c @@ -66,16 +66,16 @@ static void runTheNumbers() Point lh; //for (int i = 0; i < 200; i++) - for (int i = 0; i < 200; i++) - { + for (int i = 0; i < 1; i++) + { lh = SolveForLighthouse(to, 0); //(0.156754, -2.403268, 2.280167) - assert(fabs((lh.x / 0.1419305302702402) - 1) < 0.00001); - assert(fabs((lh.y / 2.5574949720325431) - 1) < 0.00001); - assert(fabs((lh.z / 2.2451193935772080) - 1) < 0.00001); - assert(lh.x > 0); - assert(lh.y > 0); - assert(lh.z > 0); + //assert(fabs((lh.x / 0.1419305302702402) - 1) < 0.00001); + //assert(fabs((lh.y / 2.5574949720325431) - 1) < 0.00001); + //assert(fabs((lh.z / 2.2451193935772080) - 1) < 0.00001); + //assert(lh.x > 0); + //assert(lh.y > 0); + //assert(lh.z > 0); } printf("(%f, %f, %f)\n", lh.x, lh.y, lh.z); |