From: Florent Kermarrec Date: Mon, 24 Apr 2017 17:25:24 +0000 (+0200) Subject: litex/gen/util/misc: import gcd from math and not fractions (deprecated) X-Git-Tag: 24jan2021_ls180~1863 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c7d4604754ca03c617f483d78dd4ff3d501ea6c;p=litex.git litex/gen/util/misc: import gcd from math and not fractions (deprecated) --- diff --git a/litex/gen/util/misc.py b/litex/gen/util/misc.py index ff2240bc..0eadc2bf 100644 --- a/litex/gen/util/misc.py +++ b/litex/gen/util/misc.py @@ -1,4 +1,4 @@ -from fractions import gcd +from math import gcd import collections