Skip to content

Commit 82c3719

Browse files
eric-wieserutensil
authored andcommitted
Remove unused flatten_one_level function (#175)
This has nothing to do with differential operators, and isn't used or documented. In the very unlikely event that anyone was using this, the builtin `itertools.chain.from_iterable` provides similar functionality.
1 parent 8d15ea4 commit 82c3719

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

galgebra/mv.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,10 +1946,6 @@ class Dop(object):
19461946
'debug': (False, 'True to print out debugging information'),
19471947
'fmt_dop': (1, '1 for normal dop partial derivative formating')}
19481948

1949-
@staticmethod
1950-
def flatten_one_level(lst):
1951-
return [inner for outer in lst for inner in outer]
1952-
19531949
def __init__(self, *args, **kwargs):
19541950

19551951
kwargs = metric.test_init_slots(Dop.init_slots, **kwargs)

0 commit comments

Comments
 (0)