summaryrefslogtreecommitdiffhomepage
path: root/Types/Cost.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/Cost.hs')
-rw-r--r--Types/Cost.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Cost.hs b/Types/Cost.hs
index 372c43d..4b71116 100644
--- a/Types/Cost.hs
+++ b/Types/Cost.hs
@@ -13,7 +13,7 @@ data Cost op
-- ^ cost in Seconds, using 1 physical CPU core
deriving (Show, Eq, Ord)
-newtype Seconds = Seconds Integer
+newtype Seconds = Seconds Rational
deriving (Num, Eq, Ord, Show)
-- | How many CPU cores a single run of an operation can be divided amoung.