diff --git a/onn.py b/onn.py index 335dcc8..8b9480f 100755 --- a/onn.py +++ b/onn.py @@ -11,9 +11,6 @@ from onn_core import _check, _f, _0, _1 import sys -def lament(*args, **kwargs): - print(*args, file=sys.stderr, **kwargs) - _log_was_update = False def log(left, right, update=False): s = "\x1B[1m {:>20}:\x1B[0m {}".format(left, right) diff --git a/onn_core.py b/onn_core.py index 59f5e7d..d6b552a 100644 --- a/onn_core.py +++ b/onn_core.py @@ -1,5 +1,8 @@ import sys +def lament(*args, **kwargs): + print(*args, file=sys.stderr, **kwargs) + import numpy as np _f = np.float32