litex/gen/util/misc: import gcd from math and not fractions (deprecated)
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 24 Apr 2017 17:25:24 +0000 (19:25 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 24 Apr 2017 17:25:24 +0000 (19:25 +0200)
litex/gen/util/misc.py

index ff2240bc550d28a49ee85e50ef45034caabd644f..0eadc2bf7fe068f0903d01735811b1f3bea29972 100644 (file)
@@ -1,4 +1,4 @@
-from fractions import gcd
+from math import gcd
 import collections