Refact: move random function away from core
This commit is contained in:
@@ -12,13 +12,13 @@ Expression
|
||||
"""
|
||||
from functools import partial
|
||||
from ..core import AssocialTree, Tree, compute, typing, TypingError
|
||||
from ..core.random import (
|
||||
extract_rdleaf,
|
||||
extract_rv,
|
||||
random_generator,
|
||||
compute_leafs,
|
||||
replace_rdleaf,
|
||||
)
|
||||
#from ..core.random import (
|
||||
# extract_rdleaf,
|
||||
# extract_rv,
|
||||
# random_generator,
|
||||
# compute_leafs,
|
||||
# replace_rdleaf,
|
||||
#)
|
||||
from ..core.MO import moify
|
||||
from .tokens import factory
|
||||
from .renders import render
|
||||
|
||||
@@ -13,7 +13,7 @@ Tokens representing interger and decimal
|
||||
from decimal import Decimal as _Decimal
|
||||
from .token import Token
|
||||
from ...core.arithmetic import gcd
|
||||
from ...core.random.int_gene import filter_random
|
||||
#from ...core.random.int_gene import filter_random
|
||||
from ...core.MO import MO, MOnumber
|
||||
from ...core.MO.fraction import MOFraction
|
||||
from random import random
|
||||
|
||||
Reference in New Issue
Block a user