Skip to content

Commit 1ab5ce7

Browse files
Alex VongAlex Vong
Alex Vong
authored and
Alex Vong
committed
@sym/piecewise: Remove redundant import.
* inst/@sym/piecewise.m: Remove it.
1 parent 863c02c commit 1ab5ce7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/@sym/piecewise.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
print_usage ();
6969
end
7070

71-
cmd = {'import itertools'
72-
'def chunks_of(ls, n):'
71+
cmd = {'def chunks_of(ls, n):'
7372
' return itertools.zip_longest(*[ls[k::n] for k in range(n)])'
7473
'args = [(val, cond) if val is not None else (cond, True)'
7574
' for cond, val in chunks_of(_ins, 2)]'

0 commit comments

Comments
 (0)