From 0cd7df0103230be0b73f888a6b5553440ef40d03 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Mon, 14 Sep 2015 19:10:35 -0400 Subject: Small tweak which might help with numerical precision --- hawkes/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hawkes/data.py') diff --git a/hawkes/data.py b/hawkes/data.py index e5c33f8..5f68dd1 100644 --- a/hawkes/data.py +++ b/hawkes/data.py @@ -14,7 +14,7 @@ def parse(s): def fluctuation_int(t): if t is None: t = MAX_TIME - return t + 0.43 / 0.0172 * (cos(4.36) - cos(0.0172 * t + 4.36)) + return (t, t + 0.43 / 0.0172 * (cos(4.36) - cos(0.0172 * t + 4.36))) def load_nodes(filename): -- cgit v1.2.3-70-g09d2